<alias name="CollectionRefv" c:type="OstreeCollectionRefv">
<doc xml:space="preserve"
filename="ostree-ref.h"
- line="75">A %NULL-terminated array of #OstreeCollectionRef instances, designed to
+ line="73">A %NULL-terminated array of #OstreeCollectionRef instances, designed to
be used with g_auto():
|[<!-- language="C" -->
g_auto(OstreeCollectionRefv) refs = NULL;
]|</doc>
- <source-position filename="ostree-ref.h" line="87"/>
+ <source-position filename="ostree-ref.h" line="85"/>
<type name="CollectionRef" c:type="OstreeCollectionRef**"/>
</alias>
<alias name="RepoFinderResultv" c:type="OstreeRepoFinderResultv">
<doc xml:space="preserve"
filename="ostree-repo-finder.h"
- line="171">A %NULL-terminated array of #OstreeRepoFinderResult instances, designed to
+ line="169">A %NULL-terminated array of #OstreeRepoFinderResult instances, designed to
be used with g_auto():
|[<!-- language="C" -->
g_auto(OstreeRepoFinderResultv) results = NULL;
]|</doc>
- <source-position filename="ostree-repo-finder.h" line="183"/>
+ <source-position filename="ostree-repo-finder.h" line="181"/>
<type name="RepoFinderResult" c:type="OstreeRepoFinderResult**"/>
</alias>
<function-macro name="ASYNC_PROGRESS"
c:identifier="OSTREE_ASYNC_PROGRESS"
introspectable="0">
- <source-position filename="ostree-async-progress.h" line="29"/>
+ <source-position filename="ostree-async-progress.h" line="27"/>
<parameters>
<parameter name="o">
</parameter>
<function-macro name="ASYNC_PROGRESS_CLASS"
c:identifier="OSTREE_ASYNC_PROGRESS_CLASS"
introspectable="0">
- <source-position filename="ostree-async-progress.h" line="30"/>
+ <source-position filename="ostree-async-progress.h" line="28"/>
<parameters>
<parameter name="k">
</parameter>
<function-macro name="ASYNC_PROGRESS_GET_CLASS"
c:identifier="OSTREE_ASYNC_PROGRESS_GET_CLASS"
introspectable="0">
- <source-position filename="ostree-async-progress.h" line="33"/>
+ <source-position filename="ostree-async-progress.h" line="31"/>
<parameters>
<parameter name="o">
</parameter>
glib:type-name="OstreeAsyncProgress"
glib:get-type="ostree_async_progress_get_type"
glib:type-struct="AsyncProgressClass">
- <source-position filename="ostree-async-progress.h" line="43"/>
+ <source-position filename="ostree-async-progress.h" line="41"/>
<constructor name="new" c:identifier="ostree_async_progress_new">
- <source-position filename="ostree-async-progress.h" line="49"/>
+ <source-position filename="ostree-async-progress.h" line="47"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="464">A new progress object</doc>
+ line="462">A new progress object</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</return-value>
</constructor>
<constructor name="new_and_connect"
c:identifier="ostree_async_progress_new_and_connect">
- <source-position filename="ostree-async-progress.h" line="52"/>
+ <source-position filename="ostree-async-progress.h" line="50"/>
<return-value transfer-ownership="full">
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</return-value>
</parameters>
</constructor>
<virtual-method name="changed">
- <source-position filename="ostree-async-progress.h" line="42"/>
+ <source-position filename="ostree-async-progress.h" line="40"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
version="2019.6">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="427">Atomically copies all the state from @self to @dest, without invoking the
+ line="425">Atomically copies all the state from @self to @dest, without invoking the
callback.
This is used for proxying progress objects across different #GMainContexts.</doc>
- <source-position filename="ostree-async-progress.h" line="96"/>
+ <source-position filename="ostree-async-progress.h" line="94"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="429">An #OstreeAsyncProgress to copy from</doc>
+ line="427">An #OstreeAsyncProgress to copy from</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</instance-parameter>
<parameter name="dest" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="430">An #OstreeAsyncProgress to copy to</doc>
+ line="428">An #OstreeAsyncProgress to copy to</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</parameter>
</parameters>
<method name="finish" c:identifier="ostree_async_progress_finish">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="482">Process any pending signals, ensuring the main context is cleared
+ line="480">Process any pending signals, ensuring the main context is cleared
of sources used by this object. Also ensures that no further
events will be queued.</doc>
- <source-position filename="ostree-async-progress.h" line="93"/>
+ <source-position filename="ostree-async-progress.h" line="91"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="484">Self</doc>
+ line="482">Self</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</instance-parameter>
</parameters>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="163">Get the values corresponding to zero or more keys from the
+ line="161">Get the values corresponding to zero or more keys from the
#OstreeAsyncProgress. Each key is specified in @... as the key name, followed
by a #GVariant format string, followed by the necessary arguments for that
format string, just as for g_variant_get(). After those arguments is the
"refs", "@a{ss}", &refs_variant,
NULL);
]|</doc>
- <source-position filename="ostree-async-progress.h" line="58"/>
+ <source-position filename="ostree-async-progress.h" line="56"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="165">an #OstreeAsyncProgress</doc>
+ line="163">an #OstreeAsyncProgress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</instance-parameter>
<parameter name="..." transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="166">key name, format string, #GVariant return locations, …, followed by %NULL</doc>
+ line="164">key name, format string, #GVariant return locations, …, followed by %NULL</doc>
<varargs/>
</parameter>
</parameters>
version="2017.6">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="269">Get the human-readable status string from the #OstreeAsyncProgress. This
+ line="267">Get the human-readable status string from the #OstreeAsyncProgress. This
operation is thread-safe. The retuned value may be %NULL if no status is
set.
This is a convenience function to get the well-known `status` key.</doc>
- <source-position filename="ostree-async-progress.h" line="55"/>
+ <source-position filename="ostree-async-progress.h" line="53"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="279">the current status, or %NULL if none is set</doc>
+ line="277">the current status, or %NULL if none is set</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="271">an #OstreeAsyncProgress</doc>
+ line="269">an #OstreeAsyncProgress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_uint" c:identifier="ostree_async_progress_get_uint">
- <source-position filename="ostree-async-progress.h" line="62"/>
+ <source-position filename="ostree-async-progress.h" line="60"/>
<return-value transfer-ownership="none">
<type name="guint" c:type="guint"/>
</return-value>
</method>
<method name="get_uint64"
c:identifier="ostree_async_progress_get_uint64">
- <source-position filename="ostree-async-progress.h" line="65"/>
+ <source-position filename="ostree-async-progress.h" line="63"/>
<return-value transfer-ownership="none">
<type name="guint64" c:type="guint64"/>
</return-value>
version="2017.6">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="117">Look up a key in the #OstreeAsyncProgress and return the #GVariant associated
+ line="115">Look up a key in the #OstreeAsyncProgress and return the #GVariant associated
with it. The lookup is thread-safe.</doc>
- <source-position filename="ostree-async-progress.h" line="68"/>
+ <source-position filename="ostree-async-progress.h" line="66"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="125">value for the given @key, or %NULL if
+ line="123">value for the given @key, or %NULL if
it was not set</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="119">an #OstreeAsyncProgress</doc>
+ line="117">an #OstreeAsyncProgress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</instance-parameter>
<parameter name="key" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="120">a key to look up</doc>
+ line="118">a key to look up</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="292">Set the values for zero or more keys in the #OstreeAsyncProgress. Each key is
+ line="290">Set the values for zero or more keys in the #OstreeAsyncProgress. Each key is
specified in @... as the key name, followed by a #GVariant format string,
followed by the necessary arguments for that format string, just as for
g_variant_new(). After those arguments is the next key name. The varargs list
"refs", "@a{ss}", g_variant_new_parsed ("@a{ss} {}"),
NULL);
]|</doc>
- <source-position filename="ostree-async-progress.h" line="76"/>
+ <source-position filename="ostree-async-progress.h" line="74"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="294">an #OstreeAsyncProgress</doc>
+ line="292">an #OstreeAsyncProgress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</instance-parameter>
<parameter name="..." transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="295">key name, format string, #GVariant parameters, …, followed by %NULL</doc>
+ line="293">key name, format string, #GVariant parameters, …, followed by %NULL</doc>
<varargs/>
</parameter>
</parameters>
version="2017.6">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="249">Set the human-readable status string for the #OstreeAsyncProgress. This
+ line="247">Set the human-readable status string for the #OstreeAsyncProgress. This
operation is thread-safe. %NULL may be passed to clear the status.
This is a convenience function to set the well-known `status` key.</doc>
- <source-position filename="ostree-async-progress.h" line="72"/>
+ <source-position filename="ostree-async-progress.h" line="70"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="251">an #OstreeAsyncProgress</doc>
+ line="249">an #OstreeAsyncProgress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</instance-parameter>
<parameter name="status"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="252">new status string, or %NULL to clear the status</doc>
+ line="250">new status string, or %NULL to clear the status</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</method>
<method name="set_uint" c:identifier="ostree_async_progress_set_uint">
- <source-position filename="ostree-async-progress.h" line="80"/>
+ <source-position filename="ostree-async-progress.h" line="78"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</method>
<method name="set_uint64"
c:identifier="ostree_async_progress_set_uint64">
- <source-position filename="ostree-async-progress.h" line="84"/>
+ <source-position filename="ostree-async-progress.h" line="82"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
version="2017.6">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="366">Assign a new @value to the given @key, replacing any existing value. The
+ line="364">Assign a new @value to the given @key, replacing any existing value. The
operation is thread-safe. @value may be a floating reference;
g_variant_ref_sink() will be called on it.
Any watchers of the #OstreeAsyncProgress will be notified of the change if
@value differs from the existing value for @key.</doc>
- <source-position filename="ostree-async-progress.h" line="88"/>
+ <source-position filename="ostree-async-progress.h" line="86"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="368">an #OstreeAsyncProgress</doc>
+ line="366">an #OstreeAsyncProgress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</instance-parameter>
<parameter name="key" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="369">a key to set</doc>
+ line="367">a key to set</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="value" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="370">the value to assign to @key</doc>
+ line="368">the value to assign to @key</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
<glib:signal name="changed" when="last">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="93">Emitted when @self has been changed.</doc>
+ line="91">Emitted when @self has been changed.</doc>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<record name="AsyncProgressClass"
c:type="OstreeAsyncProgressClass"
glib:is-gtype-struct-for="AsyncProgress">
- <source-position filename="ostree-async-progress.h" line="43"/>
+ <source-position filename="ostree-async-progress.h" line="41"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<field name="changed">
<callback name="changed">
- <source-position filename="ostree-async-progress.h" line="42"/>
+ <source-position filename="ostree-async-progress.h" line="40"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<function-macro name="BOOTCONFIG_PARSER"
c:identifier="OSTREE_BOOTCONFIG_PARSER"
introspectable="0">
- <source-position filename="ostree-bootconfig-parser.h" line="27"/>
+ <source-position filename="ostree-bootconfig-parser.h" line="25"/>
<parameters>
<parameter name="inst">
</parameter>
<function-macro name="BOOTLOADER"
c:identifier="OSTREE_BOOTLOADER"
introspectable="0">
- <source-position filename="ostree-bootloader.h" line="28"/>
+ <source-position filename="ostree-bootloader.h" line="26"/>
<parameters>
<parameter name="inst">
</parameter>
<function-macro name="BOOTLOADER_GET_IFACE"
c:identifier="OSTREE_BOOTLOADER_GET_IFACE"
introspectable="0">
- <source-position filename="ostree-bootloader.h" line="30"/>
+ <source-position filename="ostree-bootloader.h" line="28"/>
<parameters>
<parameter name="inst">
</parameter>
<function-macro name="BOOTLOADER_GRUB2"
c:identifier="OSTREE_BOOTLOADER_GRUB2"
introspectable="0">
- <source-position filename="ostree-bootloader-grub2.h" line="27"/>
+ <source-position filename="ostree-bootloader-grub2.h" line="25"/>
<parameters>
<parameter name="inst">
</parameter>
<function-macro name="BOOTLOADER_SYSLINUX"
c:identifier="OSTREE_BOOTLOADER_SYSLINUX"
introspectable="0">
- <source-position filename="ostree-bootloader-syslinux.h" line="27"/>
+ <source-position filename="ostree-bootloader-syslinux.h" line="25"/>
<parameters>
<parameter name="inst">
</parameter>
<function-macro name="BOOTLOADER_UBOOT"
c:identifier="OSTREE_BOOTLOADER_UBOOT"
introspectable="0">
- <source-position filename="ostree-bootloader-uboot.h" line="31"/>
+ <source-position filename="ostree-bootloader-uboot.h" line="29"/>
<parameters>
<parameter name="inst">
</parameter>
<function-macro name="BOOTLOADER_ZIPL"
c:identifier="OSTREE_BOOTLOADER_ZIPL"
introspectable="0">
- <source-position filename="ostree-bootloader-zipl.h" line="27"/>
+ <source-position filename="ostree-bootloader-zipl.h" line="25"/>
<parameters>
<parameter name="inst">
</parameter>
</parameters>
</function-macro>
<constant name="BUILT_FEATURES"
- value="libcurl gpgme ex-fsverity libarchive selinux openssl libmount systemd release p2p"
+ value="libsoup gpgme ex-fsverity libarchive selinux avahi libmount systemd release p2p"
c:type="OSTREE_BUILT_FEATURES"
version="2019.3">
<doc xml:space="preserve"
filename="ostree-version.h"
- line="95">Whitespace separated set of features this libostree was configured with at build time.
+ line="93">Whitespace separated set of features this libostree was configured with at build time.
Consult the source code in configure.ac (or the CLI `ostree --version`) for examples.</doc>
- <source-position filename="ostree-version.h" line="102"/>
+ <source-position filename="ostree-version.h" line="100"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<class name="BootconfigParser"
glib:type-name="OstreeBootconfigParser"
glib:get-type="ostree_bootconfig_parser_get_type">
<constructor name="new" c:identifier="ostree_bootconfig_parser_new">
- <source-position filename="ostree-bootconfig-parser.h" line="36"/>
+ <source-position filename="ostree-bootconfig-parser.h" line="34"/>
<return-value transfer-ownership="full">
<type name="BootconfigParser" c:type="OstreeBootconfigParser*"/>
</return-value>
</constructor>
<method name="clone" c:identifier="ostree_bootconfig_parser_clone">
- <source-position filename="ostree-bootconfig-parser.h" line="39"/>
+ <source-position filename="ostree-bootconfig-parser.h" line="37"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-bootconfig-parser.c"
- line="46">Copy of @self</doc>
+ line="44">Copy of @self</doc>
<type name="BootconfigParser" c:type="OstreeBootconfigParser*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-bootconfig-parser.c"
- line="44">Bootconfig to clone</doc>
+ line="42">Bootconfig to clone</doc>
<type name="BootconfigParser" c:type="OstreeBootconfigParser*"/>
</instance-parameter>
</parameters>
</method>
<method name="get" c:identifier="ostree_bootconfig_parser_get">
- <source-position filename="ostree-bootconfig-parser.h" line="73"/>
+ <source-position filename="ostree-bootconfig-parser.h" line="71"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</return-value>
<method name="get_overlay_initrds"
c:identifier="ostree_bootconfig_parser_get_overlay_initrds"
version="2020.7">
- <source-position filename="ostree-bootconfig-parser.h" line="81"/>
+ <source-position filename="ostree-bootconfig-parser.h" line="79"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="ostree-bootconfig-parser.c"
- line="178">Array of initrds or %NULL
+ line="176">Array of initrds or %NULL
if none are set.</doc>
<array c:type="char**">
<type name="utf8"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-bootconfig-parser.c"
- line="176">Parser</doc>
+ line="174">Parser</doc>
<type name="BootconfigParser" c:type="OstreeBootconfigParser*"/>
</instance-parameter>
</parameters>
<method name="parse"
c:identifier="ostree_bootconfig_parser_parse"
throws="1">
- <source-position filename="ostree-bootconfig-parser.h" line="42"/>
+ <source-position filename="ostree-bootconfig-parser.h" line="40"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
throws="1">
<doc xml:space="preserve"
filename="ostree-bootconfig-parser.c"
- line="61">Initialize a bootconfig from the given file.</doc>
- <source-position filename="ostree-bootconfig-parser.h" line="48"/>
+ line="59">Initialize a bootconfig from the given file.</doc>
+ <source-position filename="ostree-bootconfig-parser.h" line="46"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-bootconfig-parser.c"
- line="63">Parser</doc>
+ line="61">Parser</doc>
<type name="BootconfigParser" c:type="OstreeBootconfigParser*"/>
</instance-parameter>
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-bootconfig-parser.c"
- line="64">Directory fd</doc>
+ line="62">Directory fd</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-bootconfig-parser.c"
- line="65">File path</doc>
+ line="63">File path</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-bootconfig-parser.c"
- line="66">Cancellable</doc>
+ line="64">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</method>
<method name="set" c:identifier="ostree_bootconfig_parser_set">
- <source-position filename="ostree-bootconfig-parser.h" line="68"/>
+ <source-position filename="ostree-bootconfig-parser.h" line="66"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
version="2020.7">
<doc xml:space="preserve"
filename="ostree-bootconfig-parser.c"
- line="154">These are rendered as additional `initrd` keys in the final bootloader configs. The
+ line="152">These are rendered as additional `initrd` keys in the final bootloader configs. The
base initrd is part of the primary keys.</doc>
- <source-position filename="ostree-bootconfig-parser.h" line="77"/>
+ <source-position filename="ostree-bootconfig-parser.h" line="75"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-bootconfig-parser.c"
- line="156">Parser</doc>
+ line="154">Parser</doc>
<type name="BootconfigParser" c:type="OstreeBootconfigParser*"/>
</instance-parameter>
<parameter name="initrds"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-bootconfig-parser.c"
- line="157">Array of overlay
+ line="155">Array of overlay
initrds or %NULL to unset.</doc>
<array c:type="char**">
<type name="utf8" c:type="char*"/>
<method name="write"
c:identifier="ostree_bootconfig_parser_write"
throws="1">
- <source-position filename="ostree-bootconfig-parser.h" line="55"/>
+ <source-position filename="ostree-bootconfig-parser.h" line="53"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<method name="write_at"
c:identifier="ostree_bootconfig_parser_write_at"
throws="1">
- <source-position filename="ostree-bootconfig-parser.h" line="61"/>
+ <source-position filename="ostree-bootconfig-parser.h" line="59"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
</class>
<record name="Bootloader" c:type="OstreeBootloader" disguised="1">
- <source-position filename="ostree-bootloader.h" line="32"/>
+ <source-position filename="ostree-bootloader.h" line="30"/>
</record>
<record name="BootloaderGrub2"
c:type="OstreeBootloaderGrub2"
disguised="1">
- <source-position filename="ostree-bootloader-grub2.h" line="30"/>
+ <source-position filename="ostree-bootloader-grub2.h" line="28"/>
</record>
<record name="BootloaderInterface" c:type="OstreeBootloaderInterface">
- <source-position filename="ostree-bootloader.h" line="54"/>
+ <source-position filename="ostree-bootloader.h" line="53"/>
<field name="g_iface" writable="1">
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
</field>
<field name="query">
<callback name="query" throws="1">
- <source-position filename="ostree-bootloader.h" line="40"/>
+ <source-position filename="ostree-bootloader.h" line="38"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
</field>
<field name="get_name">
<callback name="get_name">
- <source-position filename="ostree-bootloader.h" line="44"/>
+ <source-position filename="ostree-bootloader.h" line="42"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</return-value>
</field>
<field name="write_config" introspectable="0">
<callback name="write_config" introspectable="0" throws="1">
- <source-position filename="ostree-bootloader.h" line="45"/>
+ <source-position filename="ostree-bootloader.h" line="43"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
</field>
<field name="post_bls_sync">
<callback name="post_bls_sync" throws="1">
- <source-position filename="ostree-bootloader.h" line="50"/>
+ <source-position filename="ostree-bootloader.h" line="48"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="self" transfer-ownership="none">
<type name="Bootloader" c:type="OstreeBootloader*"/>
</parameter>
+ <parameter name="bootversion" transfer-ownership="none">
+ <type name="gint" c:type="int"/>
+ </parameter>
<parameter name="cancellable" transfer-ownership="none">
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</field>
<field name="is_atomic">
<callback name="is_atomic">
- <source-position filename="ostree-bootloader.h" line="53"/>
+ <source-position filename="ostree-bootloader.h" line="52"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<record name="BootloaderSyslinux"
c:type="OstreeBootloaderSyslinux"
disguised="1">
- <source-position filename="ostree-bootloader-syslinux.h" line="30"/>
+ <source-position filename="ostree-bootloader-syslinux.h" line="28"/>
</record>
<record name="BootloaderUboot"
c:type="OstreeBootloaderUboot"
disguised="1">
- <source-position filename="ostree-bootloader-uboot.h" line="34"/>
+ <source-position filename="ostree-bootloader-uboot.h" line="32"/>
</record>
<record name="BootloaderZipl" c:type="OstreeBootloaderZipl" disguised="1">
- <source-position filename="ostree-bootloader-zipl.h" line="30"/>
+ <source-position filename="ostree-bootloader-zipl.h" line="28"/>
</record>
<function-macro name="CHECKSUM_INPUT_STREAM"
c:identifier="OSTREE_CHECKSUM_INPUT_STREAM"
introspectable="0">
- <source-position filename="ostree-checksum-input-stream.h" line="30"/>
+ <source-position filename="ostree-checksum-input-stream.h" line="28"/>
<parameters>
<parameter name="o">
</parameter>
<function-macro name="CHECKSUM_INPUT_STREAM_CLASS"
c:identifier="OSTREE_CHECKSUM_INPUT_STREAM_CLASS"
introspectable="0">
- <source-position filename="ostree-checksum-input-stream.h" line="31"/>
+ <source-position filename="ostree-checksum-input-stream.h" line="29"/>
<parameters>
<parameter name="k">
</parameter>
<function-macro name="CHECKSUM_INPUT_STREAM_GET_CLASS"
c:identifier="OSTREE_CHECKSUM_INPUT_STREAM_GET_CLASS"
introspectable="0">
- <source-position filename="ostree-checksum-input-stream.h" line="34"/>
+ <source-position filename="ostree-checksum-input-stream.h" line="32"/>
<parameters>
<parameter name="o">
</parameter>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-version.h"
- line="81">Compile-time version checking. Evaluates to %TRUE if the version
+ line="79">Compile-time version checking. Evaluates to %TRUE if the version
of ostree is equal or greater than the required one.</doc>
- <source-position filename="ostree-version.h" line="90"/>
+ <source-position filename="ostree-version.h" line="88"/>
<parameters>
<parameter name="year">
<doc xml:space="preserve"
filename="ostree-version.h"
- line="83">required year version</doc>
+ line="81">required year version</doc>
</parameter>
<parameter name="release">
<doc xml:space="preserve"
filename="ostree-version.h"
- line="84">required release version</doc>
+ line="82">required release version</doc>
</parameter>
</parameters>
</function-macro>
<constant name="COMMIT_GVARIANT_STRING"
value="(a{sv}aya(say)sstayay)"
c:type="OSTREE_COMMIT_GVARIANT_STRING">
- <source-position filename="ostree-core.h" line="149"/>
+ <source-position filename="ostree-core.h" line="151"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="COMMIT_META_KEY_ARCHITECTURE"
version="2020.4">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="216">GVariant type `s`. Intended to describe the CPU architecture. This is a freeform string, and some distributions
+ line="222">GVariant type `s`. Intended to describe the CPU architecture. This is a freeform string, and some distributions
which have existing package managers might want to match that schema. If you
don't have a prior schema, it's recommended to use `uname -m` by default (i.e. the Linux kernel schema). In the future
ostree might include a builtin function to compare architectures.</doc>
- <source-position filename="ostree-core.h" line="226"/>
+ <source-position filename="ostree-core.h" line="232"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="COMMIT_META_KEY_COLLECTION_BINDING"
version="2018.6">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="278">GVariant type `s`. If this is added to a commit, `ostree_repo_pull()`
+ line="284">GVariant type `s`. If this is added to a commit, `ostree_repo_pull()`
will enforce that the commit was retrieved from a repository which has
the same collection ID. See `ostree_repo_set_collection_id()`.
This is most useful in concert with `OSTREE_COMMIT_META_KEY_REF_BINDING`,
as it more strongly binds the commit to the repository and branch.</doc>
- <source-position filename="ostree-core.h" line="289"/>
+ <source-position filename="ostree-core.h" line="295"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="COMMIT_META_KEY_ENDOFLIFE"
version="2017.7">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="238">GVariant type `s`. This metadata key is used to display vendor's message
+ line="244">GVariant type `s`. This metadata key is used to display vendor's message
when an update stream for a particular branch ends. It usually provides
update instructions for the users.</doc>
- <source-position filename="ostree-core.h" line="247"/>
+ <source-position filename="ostree-core.h" line="253"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="COMMIT_META_KEY_ENDOFLIFE_REBASE"
version="2017.7">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="228">GVariant type `s`. Should contain a refspec defining a new target branch;
+ line="234">GVariant type `s`. Should contain a refspec defining a new target branch;
`ostree admin upgrade` and `OstreeSysrootUpgrader` will automatically initiate
a rebase upon encountering this metadata key.</doc>
- <source-position filename="ostree-core.h" line="237"/>
+ <source-position filename="ostree-core.h" line="243"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="COMMIT_META_KEY_REF_BINDING"
version="2017.9">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="265">GVariant type `as`; each element is a branch name. If this is added to a
+ line="271">GVariant type `as`; each element is a branch name. If this is added to a
commit, `ostree_repo_pull()` will enforce that the commit was retrieved from
one of the branch names in this array. This prevents "sidegrade" attacks.
The rationale for having this support multiple branch names is that it helps
support a "promotion" model of taking a commit and moving it between development
and production branches.</doc>
- <source-position filename="ostree-core.h" line="277"/>
+ <source-position filename="ostree-core.h" line="283"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="COMMIT_META_KEY_SOURCE_TITLE"
version="2017.13">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="248">GVariant type `s`. This should hold a relatively short single line value
+ line="254">GVariant type `s`. This should hold a relatively short single line value
containing a human-readable "source" for a commit, intended to be displayed
near the origin ref. This is particularly useful for systems that inject
content into an OSTree commit from elsewhere - for example, generating from
Try to keep this key short (e.g. < 80 characters) and human-readable; if you
desire machine readable data, consider injecting separate metadata keys.</doc>
- <source-position filename="ostree-core.h" line="263"/>
+ <source-position filename="ostree-core.h" line="269"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="COMMIT_META_KEY_VERSION"
version="2014.9">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="204">GVariant type `s`. This metadata key is used for version numbers. A freeform
+ line="210">GVariant type `s`. This metadata key is used for version numbers. A freeform
string; the intention is that systems using ostree do not interpret this
semantically as traditional package managers do.
This is the only ostree-defined metadata key that does not start with `ostree.`.</doc>
- <source-position filename="ostree-core.h" line="214"/>
+ <source-position filename="ostree-core.h" line="220"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<bitfield name="ChecksumFlags"
c:type="OstreeChecksumFlags">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="461">Flags influencing checksumming logic.</doc>
- <source-position filename="ostree-core.h" line="478"/>
+ line="467">Flags influencing checksumming logic.</doc>
+ <source-position filename="ostree-core.h" line="484"/>
<member name="none" value="0" c:identifier="OSTREE_CHECKSUM_FLAGS_NONE">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="463">Default checksumming without tweaks.
+ line="469">Default checksumming without tweaks.
(Since: 2017.13.)</doc>
</member>
<member name="ignore_xattrs"
c:identifier="OSTREE_CHECKSUM_FLAGS_IGNORE_XATTRS">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="465">Ignore xattrs when checksumming.
+ line="471">Ignore xattrs when checksumming.
(Since: 2017.13.)</doc>
</member>
<member name="canonical_permissions"
c:identifier="OSTREE_CHECKSUM_FLAGS_CANONICAL_PERMISSIONS">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="467">Use canonical uid/gid/mode
+ line="473">Use canonical uid/gid/mode
values, for bare-user-only mode. (Since: 2021.4.)</doc>
</member>
</bitfield>
glib:type-name="OstreeChecksumInputStream"
glib:get-type="ostree_checksum_input_stream_get_type"
glib:type-struct="ChecksumInputStreamClass">
- <source-position filename="ostree-checksum-input-stream.h" line="59"/>
+ <source-position filename="ostree-checksum-input-stream.h" line="57"/>
<constructor name="new" c:identifier="ostree_checksum_input_stream_new">
- <source-position filename="ostree-checksum-input-stream.h" line="65"/>
+ <source-position filename="ostree-checksum-input-stream.h" line="63"/>
<return-value transfer-ownership="full">
<type name="ChecksumInputStream"
c:type="OstreeChecksumInputStream*"/>
<record name="ChecksumInputStreamClass"
c:type="OstreeChecksumInputStreamClass"
glib:is-gtype-struct-for="ChecksumInputStream">
- <source-position filename="ostree-checksum-input-stream.h" line="59"/>
+ <source-position filename="ostree-checksum-input-stream.h" line="57"/>
<field name="parent_class">
<type name="Gio.FilterInputStreamClass"
c:type="GFilterInputStreamClass"/>
<field name="_g_reserved1" introspectable="0">
<callback name="_g_reserved1">
<source-position filename="ostree-checksum-input-stream.h"
- line="54"/>
+ line="52"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<field name="_g_reserved2" introspectable="0">
<callback name="_g_reserved2">
<source-position filename="ostree-checksum-input-stream.h"
- line="55"/>
+ line="53"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<field name="_g_reserved3" introspectable="0">
<callback name="_g_reserved3">
<source-position filename="ostree-checksum-input-stream.h"
- line="56"/>
+ line="54"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<field name="_g_reserved4" introspectable="0">
<callback name="_g_reserved4">
<source-position filename="ostree-checksum-input-stream.h"
- line="57"/>
+ line="55"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<field name="_g_reserved5" introspectable="0">
<callback name="_g_reserved5">
<source-position filename="ostree-checksum-input-stream.h"
- line="58"/>
+ line="56"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<record name="ChecksumInputStreamPrivate"
c:type="OstreeChecksumInputStreamPrivate"
disguised="1">
- <source-position filename="ostree-checksum-input-stream.h" line="38"/>
+ <source-position filename="ostree-checksum-input-stream.h" line="36"/>
</record>
<record name="CmdPrivateVTable" c:type="OstreeCmdPrivateVTable">
- <source-position filename="ostree-cmdprivate.h" line="38"/>
+ <source-position filename="ostree-cmdprivate.h" line="36"/>
<field name="ostree_system_generator">
<callback name="ostree_system_generator" throws="1">
- <source-position filename="ostree-cmdprivate.h" line="31"/>
+ <source-position filename="ostree-cmdprivate.h" line="29"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
</field>
<field name="ostree_generate_grub2_config">
<callback name="ostree_generate_grub2_config" throws="1">
- <source-position filename="ostree-cmdprivate.h" line="32"/>
+ <source-position filename="ostree-cmdprivate.h" line="30"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
</field>
<field name="ostree_static_delta_dump">
<callback name="ostree_static_delta_dump" throws="1">
- <source-position filename="ostree-cmdprivate.h" line="33"/>
+ <source-position filename="ostree-cmdprivate.h" line="31"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
</field>
<field name="ostree_static_delta_query_exists">
<callback name="ostree_static_delta_query_exists" throws="1">
- <source-position filename="ostree-cmdprivate.h" line="34"/>
+ <source-position filename="ostree-cmdprivate.h" line="32"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
</field>
<field name="ostree_static_delta_delete">
<callback name="ostree_static_delta_delete" throws="1">
- <source-position filename="ostree-cmdprivate.h" line="35"/>
+ <source-position filename="ostree-cmdprivate.h" line="33"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
</field>
<field name="ostree_repo_verify_bindings">
<callback name="ostree_repo_verify_bindings" throws="1">
- <source-position filename="ostree-cmdprivate.h" line="36"/>
+ <source-position filename="ostree-cmdprivate.h" line="34"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
</field>
<field name="ostree_finalize_staged">
<callback name="ostree_finalize_staged" throws="1">
- <source-position filename="ostree-cmdprivate.h" line="37"/>
+ <source-position filename="ostree-cmdprivate.h" line="35"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
c:symbol-prefix="collection_ref">
<doc xml:space="preserve"
filename="ostree-ref.h"
- line="35">A structure which globally uniquely identifies a ref as the tuple
+ line="33">A structure which globally uniquely identifies a ref as the tuple
(@collection_id, @ref_name). For backwards compatibility, @collection_id may be %NULL,
indicating a ref name which is not globally unique.</doc>
- <source-position filename="ostree-ref.h" line="51"/>
+ <source-position filename="ostree-ref.h" line="49"/>
<field name="collection_id" writable="1">
<doc xml:space="preserve"
filename="ostree-ref.h"
- line="37">collection ID which provided the ref, or %NULL if there
+ line="35">collection ID which provided the ref, or %NULL if there
is no associated collection</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="ref_name" writable="1">
<doc xml:space="preserve"
filename="ostree-ref.h"
- line="39">ref name</doc>
+ line="37">ref name</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<constructor name="new"
version="2018.6">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="40">Create a new #OstreeCollectionRef containing (@collection_id, @ref_name). If
+ line="38">Create a new #OstreeCollectionRef containing (@collection_id, @ref_name). If
@collection_id is %NULL, this is equivalent to a plain ref name string (not a
refspec; no remote name is included), which can be used for non-P2P
operations.</doc>
- <source-position filename="ostree-ref.h" line="57"/>
+ <source-position filename="ostree-ref.h" line="55"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="50">a new #OstreeCollectionRef</doc>
+ line="48">a new #OstreeCollectionRef</doc>
<type name="CollectionRef" c:type="OstreeCollectionRef*"/>
</return-value>
<parameters>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="42">a collection ID, or %NULL for a plain ref</doc>
+ line="40">a collection ID, or %NULL for a plain ref</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="ref_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="43">a ref name</doc>
+ line="41">a ref name</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="70">Create a copy of the given @ref.</doc>
- <source-position filename="ostree-ref.h" line="60"/>
+ line="68">Create a copy of the given @ref.</doc>
+ <source-position filename="ostree-ref.h" line="58"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="76">a newly allocated copy of @ref</doc>
+ line="74">a newly allocated copy of @ref</doc>
<type name="CollectionRef" c:type="OstreeCollectionRef*"/>
</return-value>
<parameters>
<instance-parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="72">an #OstreeCollectionRef</doc>
+ line="70">an #OstreeCollectionRef</doc>
<type name="CollectionRef" c:type="const OstreeCollectionRef*"/>
</instance-parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="87">Free the given @ref.</doc>
- <source-position filename="ostree-ref.h" line="62"/>
+ line="85">Free the given @ref.</doc>
+ <source-position filename="ostree-ref.h" line="60"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="ref" transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="89">an #OstreeCollectionRef</doc>
+ line="87">an #OstreeCollectionRef</doc>
<type name="CollectionRef" c:type="OstreeCollectionRef*"/>
</instance-parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="147">Copy an array of #OstreeCollectionRefs, including deep copies of all its
+ line="145">Copy an array of #OstreeCollectionRefs, including deep copies of all its
elements. @refs must be %NULL-terminated; it may be empty, but must not be
%NULL.</doc>
- <source-position filename="ostree-ref.h" line="71"/>
+ <source-position filename="ostree-ref.h" line="69"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="155">a newly allocated copy of @refs</doc>
+ line="153">a newly allocated copy of @refs</doc>
<array c:type="OstreeCollectionRef**">
<type name="CollectionRef" c:type="OstreeCollectionRef*"/>
</array>
<parameter name="refs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="149">%NULL-terminated array of #OstreeCollectionRefs</doc>
+ line="147">%NULL-terminated array of #OstreeCollectionRefs</doc>
<array c:type="const OstreeCollectionRef* const*">
<type name="CollectionRef" c:type="OstreeCollectionRef*"/>
</array>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="126">Compare @ref1 and @ref2 and return %TRUE if they have the same collection ID and
+ line="124">Compare @ref1 and @ref2 and return %TRUE if they have the same collection ID and
ref name, and %FALSE otherwise. Both @ref1 and @ref2 must be non-%NULL.</doc>
- <source-position filename="ostree-ref.h" line="67"/>
+ <source-position filename="ostree-ref.h" line="65"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="134">%TRUE if @ref1 and @ref2 are equal, %FALSE otherwise</doc>
+ line="132">%TRUE if @ref1 and @ref2 are equal, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="ref1" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="128">an #OstreeCollectionRef</doc>
+ line="126">an #OstreeCollectionRef</doc>
<type name="gpointer" c:type="gconstpointer"/>
</parameter>
<parameter name="ref2" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="129">another #OstreeCollectionRef</doc>
+ line="127">another #OstreeCollectionRef</doc>
<type name="gpointer" c:type="gconstpointer"/>
</parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="175">Free the given array of @refs, including freeing all its elements. @refs
+ line="173">Free the given array of @refs, including freeing all its elements. @refs
must be %NULL-terminated; it may be empty, but must not be %NULL.</doc>
- <source-position filename="ostree-ref.h" line="73"/>
+ <source-position filename="ostree-ref.h" line="71"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="refs" transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="177">an array of #OstreeCollectionRefs</doc>
+ line="175">an array of #OstreeCollectionRefs</doc>
<array c:type="OstreeCollectionRef**">
<type name="CollectionRef" c:type="OstreeCollectionRef*"/>
</array>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="105">Hash the given @ref. This function is suitable for use with #GHashTable.
+ line="103">Hash the given @ref. This function is suitable for use with #GHashTable.
@ref must be non-%NULL.</doc>
- <source-position filename="ostree-ref.h" line="65"/>
+ <source-position filename="ostree-ref.h" line="63"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="112">hash value for @ref</doc>
+ line="110">hash value for @ref</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="107">an #OstreeCollectionRef</doc>
+ line="105">an #OstreeCollectionRef</doc>
<type name="gpointer" c:type="gconstpointer"/>
</parameter>
</parameters>
c:symbol-prefix="commit_sizes_entry">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="546">Structure representing an entry in the "ostree.sizes" commit metadata. Each
+ line="552">Structure representing an entry in the "ostree.sizes" commit metadata. Each
entry corresponds to an object in the associated commit.</doc>
- <source-position filename="ostree-core.h" line="563"/>
+ <source-position filename="ostree-core.h" line="569"/>
<field name="checksum" writable="1">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="548">object checksum</doc>
+ line="554">object checksum</doc>
<type name="utf8" c:type="gchar*"/>
</field>
<field name="objtype" writable="1">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="549">object type</doc>
+ line="555">object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</field>
<field name="unpacked" writable="1">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="550">unpacked object size</doc>
+ line="556">unpacked object size</doc>
<type name="guint64" c:type="guint64"/>
</field>
<field name="archived" writable="1">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="551">compressed object size</doc>
+ line="557">compressed object size</doc>
<type name="guint64" c:type="guint64"/>
</field>
<constructor name="new"
version="2020.1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2449">Create a new #OstreeCommitSizesEntry for representing an object in a
+ line="2471">Create a new #OstreeCommitSizesEntry for representing an object in a
commit's "ostree.sizes" metadata.</doc>
- <source-position filename="ostree-core.h" line="569"/>
+ <source-position filename="ostree-core.h" line="575"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2459">a new #OstreeCommitSizesEntry</doc>
+ line="2481">a new #OstreeCommitSizesEntry</doc>
<type name="CommitSizesEntry" c:type="OstreeCommitSizesEntry*"/>
</return-value>
<parameters>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2451">object checksum</doc>
+ line="2473">object checksum</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2452">object type</doc>
+ line="2474">object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="unpacked" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2453">unpacked object size</doc>
+ line="2475">unpacked object size</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="archived" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2454">compressed object size</doc>
+ line="2476">compressed object size</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
</parameters>
version="2020.1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2479">Create a copy of the given @entry.</doc>
- <source-position filename="ostree-core.h" line="574"/>
+ line="2501">Create a copy of the given @entry.</doc>
+ <source-position filename="ostree-core.h" line="580"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2485">a new copy of @entry</doc>
+ line="2507">a new copy of @entry</doc>
<type name="CommitSizesEntry" c:type="OstreeCommitSizesEntry*"/>
</return-value>
<parameters>
<instance-parameter name="entry" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2481">an #OstreeCommitSizesEntry</doc>
+ line="2503">an #OstreeCommitSizesEntry</doc>
<type name="CommitSizesEntry"
c:type="const OstreeCommitSizesEntry*"/>
</instance-parameter>
version="2020.1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2499">Free given @entry.</doc>
- <source-position filename="ostree-core.h" line="576"/>
+ line="2521">Free given @entry.</doc>
+ <source-position filename="ostree-core.h" line="582"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="entry" transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2501">an #OstreeCommitSizesEntry</doc>
+ line="2523">an #OstreeCommitSizesEntry</doc>
<type name="CommitSizesEntry" c:type="OstreeCommitSizesEntry*"/>
</instance-parameter>
</parameters>
glib:type-name="OstreeContentWriter"
glib:get-type="ostree_content_writer_get_type"
glib:type-struct="ContentWriterClass">
- <source-position filename="ostree-content-writer.h" line="29"/>
+ <source-position filename="ostree-content-writer.h" line="27"/>
<method name="finish"
c:identifier="ostree_content_writer_finish"
throws="1">
<doc xml:space="preserve"
filename="ostree-content-writer.c"
- line="124">Complete the object write and return the checksum.</doc>
- <source-position filename="ostree-content-writer.h" line="32"/>
+ line="122">Complete the object write and return the checksum.</doc>
+ <source-position filename="ostree-content-writer.h" line="30"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-content-writer.c"
- line="131">Checksum, or %NULL on error</doc>
+ line="129">Checksum, or %NULL on error</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-content-writer.c"
- line="126">Writer</doc>
+ line="124">Writer</doc>
<type name="ContentWriter" c:type="OstreeContentWriter*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-content-writer.c"
- line="127">Cancellable</doc>
+ line="125">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<record name="ContentWriterClass"
c:type="OstreeContentWriterClass"
glib:is-gtype-struct-for="ContentWriter">
- <source-position filename="ostree-content-writer.h" line="29"/>
+ <source-position filename="ostree-content-writer.h" line="27"/>
<field name="parent_class">
<type name="Gio.OutputStreamClass" c:type="GOutputStreamClass"/>
</field>
<function-macro name="DEPLOYMENT"
c:identifier="OSTREE_DEPLOYMENT"
introspectable="0">
- <source-position filename="ostree-deployment.h" line="27"/>
+ <source-position filename="ostree-deployment.h" line="25"/>
<parameters>
<parameter name="inst">
</parameter>
<constant name="DIRMETA_GVARIANT_STRING"
value="(uuua(ayay))"
c:type="OSTREE_DIRMETA_GVARIANT_STRING">
- <source-position filename="ostree-core.h" line="109"/>
+ <source-position filename="ostree-core.h" line="111"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<class name="Deployment"
glib:type-name="OstreeDeployment"
glib:get-type="ostree_deployment_get_type">
<constructor name="new" c:identifier="ostree_deployment_new">
- <source-position filename="ostree-deployment.h" line="52"/>
+ <source-position filename="ostree-deployment.h" line="50"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="364">New deployment</doc>
+ line="362">New deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</return-value>
<parameters>
<parameter name="index" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="357">Global index into the bootloader entries</doc>
+ line="355">Global index into the bootloader entries</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="osname" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="358">"stateroot" for this deployment</doc>
+ line="356">"stateroot" for this deployment</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="csum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="359">OSTree commit that will be deployed</doc>
+ line="357">OSTree commit that will be deployed</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="deployserial" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="360">Unique counter</doc>
+ line="358">Unique counter</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="bootcsum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="361">Kernel/initrd checksum</doc>
+ line="359">Kernel/initrd checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="bootserial" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="362">Unique index</doc>
+ line="360">Unique index</doc>
<type name="gint" c:type="int"/>
</parameter>
</parameters>
version="2018.3">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="183">The intention of an origin file is primarily describe the "inputs" that
+ line="181">The intention of an origin file is primarily describe the "inputs" that
resulted in a deployment, and it's commonly used to derive the new state. For
example, a key value (in pure libostree mode) is the "refspec". However,
libostree (or other applications) may want to store "transient" state that
Additionally, this function will remove the `origin/unlocked` and
`origin/override-commit` members; these should be considered transient state
that should have been under an explicit group.</doc>
- <source-position filename="ostree-deployment.h" line="91"/>
+ <source-position filename="ostree-deployment.h" line="89"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="origin" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="185">An origin</doc>
+ line="183">An origin</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
</parameters>
<function name="unlocked_state_to_string"
c:identifier="ostree_deployment_unlocked_state_to_string"
version="2016.4">
- <source-position filename="ostree-deployment.h" line="107"/>
+ <source-position filename="ostree-deployment.h" line="105"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="416">Description of state</doc>
+ line="414">Description of state</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
</parameters>
</function>
<method name="clone" c:identifier="ostree_deployment_clone">
- <source-position filename="ostree-deployment.h" line="94"/>
+ <source-position filename="ostree-deployment.h" line="92"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="252">New deep copy of @self</doc>
+ line="250">New deep copy of @self</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="250">Deployment</doc>
+ line="248">Deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</instance-parameter>
</parameters>
</method>
<method name="equal" c:identifier="ostree_deployment_equal">
- <source-position filename="ostree-deployment.h" line="49"/>
+ <source-position filename="ostree-deployment.h" line="47"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="306">%TRUE if deployments have the same osname, csum, and deployserial</doc>
+ line="304">%TRUE if deployments have the same osname, csum, and deployserial</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="ap" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="303">A deployment</doc>
+ line="301">A deployment</doc>
<type name="Deployment" c:type="gconstpointer"/>
</instance-parameter>
<parameter name="bp" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="304">A deployment</doc>
+ line="302">A deployment</doc>
<type name="Deployment" c:type="gconstpointer"/>
</parameter>
</parameters>
</method>
<method name="get_bootconfig"
c:identifier="ostree_deployment_get_bootconfig">
- <source-position filename="ostree-deployment.h" line="72"/>
+ <source-position filename="ostree-deployment.h" line="70"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="94">Boot configuration</doc>
+ line="92">Boot configuration</doc>
<type name="BootconfigParser" c:type="OstreeBootconfigParser*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="92">Deployment</doc>
+ line="90">Deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_bootcsum"
c:identifier="ostree_deployment_get_bootcsum">
- <source-position filename="ostree-deployment.h" line="68"/>
+ <source-position filename="ostree-deployment.h" line="66"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</return-value>
</method>
<method name="get_bootserial"
c:identifier="ostree_deployment_get_bootserial">
- <source-position filename="ostree-deployment.h" line="70"/>
+ <source-position filename="ostree-deployment.h" line="68"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
</parameters>
</method>
<method name="get_csum" c:identifier="ostree_deployment_get_csum">
- <source-position filename="ostree-deployment.h" line="66"/>
+ <source-position filename="ostree-deployment.h" line="64"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</return-value>
</method>
<method name="get_deployserial"
c:identifier="ostree_deployment_get_deployserial">
- <source-position filename="ostree-deployment.h" line="64"/>
+ <source-position filename="ostree-deployment.h" line="62"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
</parameters>
</method>
<method name="get_index" c:identifier="ostree_deployment_get_index">
- <source-position filename="ostree-deployment.h" line="60"/>
+ <source-position filename="ostree-deployment.h" line="58"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="118">The global index into the bootloader ordering</doc>
+ line="116">The global index into the bootloader ordering</doc>
<type name="gint" c:type="int"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="116">Deployment</doc>
+ line="114">Deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_origin" c:identifier="ostree_deployment_get_origin">
- <source-position filename="ostree-deployment.h" line="74"/>
+ <source-position filename="ostree-deployment.h" line="72"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="106">Origin</doc>
+ line="104">Origin</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="104">Deployment</doc>
+ line="102">Deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</instance-parameter>
</parameters>
c:identifier="ostree_deployment_get_origin_relpath">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="394">Note this function only returns a *relative* path - if you want to
+ line="392">Note this function only returns a *relative* path - if you want to
access, it, you must either use fd-relative api such as openat(),
or concatenate it with the full ostree_sysroot_get_path().</doc>
- <source-position filename="ostree-deployment.h" line="97"/>
+ <source-position filename="ostree-deployment.h" line="95"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="402">Path to deployment root directory, relative to sysroot</doc>
+ line="400">Path to deployment root directory, relative to sysroot</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="396">A deployment</doc>
+ line="394">A deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_osname" c:identifier="ostree_deployment_get_osname">
- <source-position filename="ostree-deployment.h" line="62"/>
+ <source-position filename="ostree-deployment.h" line="60"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</return-value>
<method name="get_unlocked"
c:identifier="ostree_deployment_get_unlocked"
version="2016.4">
- <source-position filename="ostree-deployment.h" line="110"/>
+ <source-position filename="ostree-deployment.h" line="108"/>
<return-value transfer-ownership="none">
<type name="DeploymentUnlockedState"
c:type="OstreeDeploymentUnlockedState"/>
</parameters>
</method>
<method name="hash" c:identifier="ostree_deployment_hash">
- <source-position filename="ostree-deployment.h" line="47"/>
+ <source-position filename="ostree-deployment.h" line="45"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="290">An integer suitable for use in a `GHashTable`</doc>
+ line="288">An integer suitable for use in a `GHashTable`</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="v" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="288">Deployment</doc>
+ line="286">Deployment</doc>
<type name="Deployment" c:type="gconstpointer"/>
</instance-parameter>
</parameters>
version="2018.3">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="447">See ostree_sysroot_deployment_set_pinned().</doc>
- <source-position filename="ostree-deployment.h" line="79"/>
+ line="445">See ostree_sysroot_deployment_set_pinned().</doc>
+ <source-position filename="ostree-deployment.h" line="77"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="453">`TRUE` if deployment will not be subject to GC</doc>
+ line="451">`TRUE` if deployment will not be subject to GC</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="449">Deployment</doc>
+ line="447">Deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</instance-parameter>
</parameters>
<method name="is_staged"
c:identifier="ostree_deployment_is_staged"
version="2018.3">
- <source-position filename="ostree-deployment.h" line="77"/>
+ <source-position filename="ostree-deployment.h" line="75"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="468">`TRUE` if deployment should be "finalized" at shutdown time</doc>
+ line="466">`TRUE` if deployment should be "finalized" at shutdown time</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="466">Deployment</doc>
+ line="464">Deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</instance-parameter>
</parameters>
c:identifier="ostree_deployment_set_bootconfig">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="152">Set or clear the bootloader configuration.</doc>
- <source-position filename="ostree-deployment.h" line="86"/>
+ line="150">Set or clear the bootloader configuration.</doc>
+ <source-position filename="ostree-deployment.h" line="84"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="154">Deployment</doc>
+ line="152">Deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</instance-parameter>
<parameter name="bootconfig"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="155">Bootloader configuration object</doc>
+ line="153">Bootloader configuration object</doc>
<type name="BootconfigParser" c:type="OstreeBootconfigParser*"/>
</parameter>
</parameters>
c:identifier="ostree_deployment_set_bootserial">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="139">Should never have been made public API; don't use this.</doc>
- <source-position filename="ostree-deployment.h" line="84"/>
+ line="137">Should never have been made public API; don't use this.</doc>
+ <source-position filename="ostree-deployment.h" line="82"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="141">Deployment</doc>
+ line="139">Deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</instance-parameter>
<parameter name="index" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="142">Don't use this</doc>
+ line="140">Don't use this</doc>
<type name="gint" c:type="int"/>
</parameter>
</parameters>
<method name="set_index" c:identifier="ostree_deployment_set_index">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="126">Sets the global index into the bootloader ordering.</doc>
- <source-position filename="ostree-deployment.h" line="82"/>
+ line="124">Sets the global index into the bootloader ordering.</doc>
+ <source-position filename="ostree-deployment.h" line="80"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="128">Deployment</doc>
+ line="126">Deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</instance-parameter>
<parameter name="index" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="129">Index into bootloader ordering</doc>
+ line="127">Index into bootloader ordering</doc>
<type name="gint" c:type="int"/>
</parameter>
</parameters>
<method name="set_origin" c:identifier="ostree_deployment_set_origin">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="167">Replace the "origin", which is a description of the source
+ line="165">Replace the "origin", which is a description of the source
of the deployment and how to update to the next version.</doc>
- <source-position filename="ostree-deployment.h" line="88"/>
+ <source-position filename="ostree-deployment.h" line="86"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="169">Deployment</doc>
+ line="167">Deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</instance-parameter>
<parameter name="origin"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-deployment.c"
- line="170">Set the origin for this deployment</doc>
+ line="168">Set the origin for this deployment</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
</parameters>
</class>
<enumeration name="DeploymentUnlockedState"
c:type="OstreeDeploymentUnlockedState">
- <source-position filename="ostree-deployment.h" line="104"/>
+ <source-position filename="ostree-deployment.h" line="102"/>
<member name="none"
value="0"
c:identifier="OSTREE_DEPLOYMENT_UNLOCKED_NONE">
<record name="DiffDirsOptions" c:type="OstreeDiffDirsOptions">
<doc xml:space="preserve"
filename="ostree-diff.h"
- line="75">An extensible options structure controlling diff dirs. Make sure
+ line="73">An extensible options structure controlling diff dirs. Make sure
that owner_uid/gid is set to -1 when not used. This is used by
ostree_diff_dirs_with_options().</doc>
- <source-position filename="ostree-diff.h" line="92"/>
+ <source-position filename="ostree-diff.h" line="90"/>
<field name="owner_uid" writable="1">
<type name="gint" c:type="gint"/>
</field>
</field>
</record>
<bitfield name="DiffFlags" c:type="OstreeDiffFlags">
- <source-position filename="ostree-diff.h" line="37"/>
+ <source-position filename="ostree-diff.h" line="35"/>
<member name="none" value="0" c:identifier="OSTREE_DIFF_FLAGS_NONE">
</member>
<member name="ignore_xattrs"
glib:type-name="OstreeDiffItem"
glib:get-type="ostree_diff_item_get_type"
c:symbol-prefix="diff_item">
- <source-position filename="ostree-diff.h" line="55"/>
+ <source-position filename="ostree-diff.h" line="53"/>
<field name="refcount" writable="1">
<type name="gint" c:type="gint"/>
</field>
<type name="utf8" c:type="char*"/>
</field>
<method name="ref" c:identifier="ostree_diff_item_ref">
- <source-position filename="ostree-diff.h" line="58"/>
+ <source-position filename="ostree-diff.h" line="56"/>
<return-value transfer-ownership="full">
<type name="DiffItem" c:type="OstreeDiffItem*"/>
</return-value>
</parameters>
</method>
<method name="unref" c:identifier="ostree_diff_item_unref">
- <source-position filename="ostree-diff.h" line="60"/>
+ <source-position filename="ostree-diff.h" line="58"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<function-macro name="ENCODE_VERSION"
c:identifier="OSTREE_ENCODE_VERSION"
introspectable="0">
- <source-position filename="ostree-version.h" line="67"/>
+ <source-position filename="ostree-version.h" line="65"/>
<parameters>
<parameter name="year">
</parameter>
<constant name="FILEMETA_GVARIANT_STRING"
value="(uuua(ayay))"
c:type="OSTREE_FILEMETA_GVARIANT_STRING">
- <source-position filename="ostree-core.h" line="125"/>
+ <source-position filename="ostree-core.h" line="127"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="GPG_KEY_GVARIANT_STRING"
value="(aa{sv}aa{sv}a{sv})"
c:type="OSTREE_GPG_KEY_GVARIANT_STRING">
- <source-position filename="ostree-repo.h" line="1463"/>
+ <source-position filename="ostree-repo.h" line="1480"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<function-macro name="GPG_VERIFIER"
c:identifier="OSTREE_GPG_VERIFIER"
introspectable="0">
- <source-position filename="ostree-gpg-verifier.h" line="32"/>
+ <source-position filename="ostree-gpg-verifier.h" line="30"/>
<parameters>
<parameter name="obj">
</parameter>
<function-macro name="GPG_VERIFY_RESULT"
c:identifier="OSTREE_GPG_VERIFY_RESULT"
introspectable="0">
- <source-position filename="ostree-gpg-verify-result.h" line="30"/>
+ <source-position filename="ostree-gpg-verify-result.h" line="28"/>
<parameters>
<parameter name="obj">
</parameter>
glib:error-domain="OstreeGpgError">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="157">Errors returned by signature creation and verification operations in OSTree.
+ line="155">Errors returned by signature creation and verification operations in OSTree.
These may be returned by any API which creates or verifies signatures.</doc>
- <source-position filename="ostree-gpg-verify-result.h" line="180"/>
+ <source-position filename="ostree-gpg-verify-result.h" line="178"/>
<member name="no_signature"
value="0"
c:identifier="OSTREE_GPG_ERROR_NO_SIGNATURE">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="159">A signature was expected, but not found.</doc>
+ line="157">A signature was expected, but not found.</doc>
</member>
<member name="invalid_signature"
value="1"
c:identifier="OSTREE_GPG_ERROR_INVALID_SIGNATURE">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="160">A signature was malformed.</doc>
+ line="158">A signature was malformed.</doc>
</member>
<member name="missing_key"
value="2"
c:identifier="OSTREE_GPG_ERROR_MISSING_KEY">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="161">A signature was found, but was created with a key not in the configured keyrings.</doc>
+ line="159">A signature was found, but was created with a key not in the configured keyrings.</doc>
</member>
<member name="expired_signature"
value="3"
c:identifier="OSTREE_GPG_ERROR_EXPIRED_SIGNATURE">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="162">A signature was expired. Since: 2020.1.</doc>
+ line="160">A signature was expired. Since: 2020.1.</doc>
</member>
<member name="expired_key"
value="4"
c:identifier="OSTREE_GPG_ERROR_EXPIRED_KEY">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="163">A signature was found, but the key used to
+ line="161">A signature was found, but the key used to
sign it has expired. Since: 2020.1.</doc>
</member>
<member name="revoked_key"
c:identifier="OSTREE_GPG_ERROR_REVOKED_KEY">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="165">A signature was found, but the key used to
+ line="163">A signature was found, but the key used to
sign it has been revoked. Since: 2020.1.</doc>
</member>
</enumeration>
<enumeration name="GpgSignatureAttr" c:type="OstreeGpgSignatureAttr">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="38">Signature attributes available from an #OstreeGpgVerifyResult.
+ line="36">Signature attributes available from an #OstreeGpgVerifyResult.
The attribute's #GVariantType is shown in brackets.</doc>
- <source-position filename="ostree-gpg-verify-result.h" line="101"/>
+ <source-position filename="ostree-gpg-verify-result.h" line="99"/>
<member name="valid"
value="0"
c:identifier="OSTREE_GPG_SIGNATURE_ATTR_VALID">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="40">[#G_VARIANT_TYPE_BOOLEAN] Is the signature valid?</doc>
+ line="38">[#G_VARIANT_TYPE_BOOLEAN] Is the signature valid?</doc>
</member>
<member name="sig_expired"
value="1"
c:identifier="OSTREE_GPG_SIGNATURE_ATTR_SIG_EXPIRED">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="42">[#G_VARIANT_TYPE_BOOLEAN] Has the signature expired?</doc>
+ line="40">[#G_VARIANT_TYPE_BOOLEAN] Has the signature expired?</doc>
</member>
<member name="key_expired"
value="2"
c:identifier="OSTREE_GPG_SIGNATURE_ATTR_KEY_EXPIRED">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="44">[#G_VARIANT_TYPE_BOOLEAN] Has the signing key expired?</doc>
+ line="42">[#G_VARIANT_TYPE_BOOLEAN] Has the signing key expired?</doc>
</member>
<member name="key_revoked"
value="3"
c:identifier="OSTREE_GPG_SIGNATURE_ATTR_KEY_REVOKED">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="46">[#G_VARIANT_TYPE_BOOLEAN] Has the signing key been revoked?</doc>
+ line="44">[#G_VARIANT_TYPE_BOOLEAN] Has the signing key been revoked?</doc>
</member>
<member name="key_missing"
value="4"
c:identifier="OSTREE_GPG_SIGNATURE_ATTR_KEY_MISSING">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="48">[#G_VARIANT_TYPE_BOOLEAN] Is the signing key missing?</doc>
+ line="46">[#G_VARIANT_TYPE_BOOLEAN] Is the signing key missing?</doc>
</member>
<member name="fingerprint"
value="5"
c:identifier="OSTREE_GPG_SIGNATURE_ATTR_FINGERPRINT">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="50">[#G_VARIANT_TYPE_STRING] Fingerprint of the signing key</doc>
+ line="48">[#G_VARIANT_TYPE_STRING] Fingerprint of the signing key</doc>
</member>
<member name="timestamp"
value="6"
c:identifier="OSTREE_GPG_SIGNATURE_ATTR_TIMESTAMP">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="52">[#G_VARIANT_TYPE_INT64] Signature creation Unix timestamp</doc>
+ line="50">[#G_VARIANT_TYPE_INT64] Signature creation Unix timestamp</doc>
</member>
<member name="exp_timestamp"
value="7"
c:identifier="OSTREE_GPG_SIGNATURE_ATTR_EXP_TIMESTAMP">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="54">[#G_VARIANT_TYPE_INT64] Signature expiration Unix timestamp (0 if no
+ line="52">[#G_VARIANT_TYPE_INT64] Signature expiration Unix timestamp (0 if no
expiration)</doc>
</member>
<member name="pubkey_algo_name"
c:identifier="OSTREE_GPG_SIGNATURE_ATTR_PUBKEY_ALGO_NAME">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="57">[#G_VARIANT_TYPE_STRING] Name of the public key algorithm used to create
+ line="55">[#G_VARIANT_TYPE_STRING] Name of the public key algorithm used to create
the signature</doc>
</member>
<member name="hash_algo_name"
c:identifier="OSTREE_GPG_SIGNATURE_ATTR_HASH_ALGO_NAME">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="60">[#G_VARIANT_TYPE_STRING] Name of the hash algorithm used to create the
+ line="58">[#G_VARIANT_TYPE_STRING] Name of the hash algorithm used to create the
signature</doc>
</member>
<member name="user_name"
c:identifier="OSTREE_GPG_SIGNATURE_ATTR_USER_NAME">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="63">[#G_VARIANT_TYPE_STRING] The name of the signing key's primary user</doc>
+ line="61">[#G_VARIANT_TYPE_STRING] The name of the signing key's primary user</doc>
</member>
<member name="user_email"
value="11"
c:identifier="OSTREE_GPG_SIGNATURE_ATTR_USER_EMAIL">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="65">[#G_VARIANT_TYPE_STRING] The email address of the signing key's primary
+ line="63">[#G_VARIANT_TYPE_STRING] The email address of the signing key's primary
user</doc>
</member>
<member name="fingerprint_primary"
c:identifier="OSTREE_GPG_SIGNATURE_ATTR_FINGERPRINT_PRIMARY">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="68">[#G_VARIANT_TYPE_STRING] Fingerprint of the signing key's primary key
+ line="66">[#G_VARIANT_TYPE_STRING] Fingerprint of the signing key's primary key
(will be the same as OSTREE_GPG_SIGNATURE_ATTR_FINGERPRINT if the
the signature is already from the primary key rather than a subkey,
and will be the empty string if the key is missing.)</doc>
c:identifier="OSTREE_GPG_SIGNATURE_ATTR_KEY_EXP_TIMESTAMP">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="73">[#G_VARIANT_TYPE_INT64] Key expiration Unix timestamp (0 if no
+ line="71">[#G_VARIANT_TYPE_INT64] Key expiration Unix timestamp (0 if no
expiration or if the key is missing)</doc>
</member>
<member name="key_exp_timestamp_primary"
c:identifier="OSTREE_GPG_SIGNATURE_ATTR_KEY_EXP_TIMESTAMP_PRIMARY">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="76">[#G_VARIANT_TYPE_INT64] Key expiration Unix timestamp of the signing key's
+ line="74">[#G_VARIANT_TYPE_INT64] Key expiration Unix timestamp of the signing key's
primary key (will be the same as OSTREE_GPG_SIGNATURE_ATTR_KEY_EXP_TIMESTAMP
if the signing key is the primary key and 0 if no expiration or if the key
is missing)</doc>
c:type="OstreeGpgSignatureFormatFlags">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="127">Formatting flags for ostree_gpg_verify_result_describe(). Currently
+ line="125">Formatting flags for ostree_gpg_verify_result_describe(). Currently
there's only one possible output format, but this enumeration allows
for future variations.</doc>
- <source-position filename="ostree-gpg-verify-result.h" line="138"/>
+ <source-position filename="ostree-gpg-verify-result.h" line="136"/>
<member name="gpg_signature_format_default"
value="0"
c:identifier="OSTREE_GPG_SIGNATURE_FORMAT_DEFAULT">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.h"
- line="129">Use the default output format</doc>
+ line="127">Use the default output format</doc>
</member>
</bitfield>
<record name="GpgVerifier" c:type="OstreeGpgVerifier" disguised="1">
- <source-position filename="ostree-gpg-verifier.h" line="37"/>
+ <source-position filename="ostree-gpg-verifier.h" line="35"/>
</record>
<class name="GpgVerifyResult"
c:symbol-prefix="gpg_verify_result"
c:identifier="ostree_gpg_verify_result_describe_variant">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="583">Similar to ostree_gpg_verify_result_describe() but takes a #GVariant of
+ line="581">Similar to ostree_gpg_verify_result_describe() but takes a #GVariant of
all attributes for a GPG signature instead of an #OstreeGpgVerifyResult
and signature index.
The @variant <emphasis>MUST</emphasis> have been created by
ostree_gpg_verify_result_get_all().</doc>
- <source-position filename="ostree-gpg-verify-result.h" line="148"/>
+ <source-position filename="ostree-gpg-verify-result.h" line="146"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="variant" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="585">a #GVariant from ostree_gpg_verify_result_get_all()</doc>
+ line="583">a #GVariant from ostree_gpg_verify_result_get_all()</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="output_buffer" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="586">a #GString to hold the description</doc>
+ line="584">a #GString to hold the description</doc>
<type name="GLib.String" c:type="GString*"/>
</parameter>
<parameter name="line_prefix"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="587">optional line prefix string</doc>
+ line="585">optional line prefix string</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="588">flags to adjust the description format</doc>
+ line="586">flags to adjust the description format</doc>
<type name="GpgSignatureFormatFlags"
c:type="OstreeGpgSignatureFormatFlags"/>
</parameter>
c:identifier="ostree_gpg_verify_result_count_all">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="170">Counts all the signatures in @result.</doc>
- <source-position filename="ostree-gpg-verify-result.h" line="107"/>
+ line="168">Counts all the signatures in @result.</doc>
+ <source-position filename="ostree-gpg-verify-result.h" line="105"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="176">signature count</doc>
+ line="174">signature count</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="172">an #OstreeGpgVerifyResult</doc>
+ line="170">an #OstreeGpgVerifyResult</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</instance-parameter>
</parameters>
c:identifier="ostree_gpg_verify_result_count_valid">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="196">Counts only the valid signatures in @result.</doc>
- <source-position filename="ostree-gpg-verify-result.h" line="110"/>
+ line="194">Counts only the valid signatures in @result.</doc>
+ <source-position filename="ostree-gpg-verify-result.h" line="108"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="202">valid signature count</doc>
+ line="200">valid signature count</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="198">an #OstreeGpgVerifyResult</doc>
+ line="196">an #OstreeGpgVerifyResult</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</instance-parameter>
</parameters>
<method name="describe" c:identifier="ostree_gpg_verify_result_describe">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="508">Appends a brief, human-readable description of the GPG signature at
+ line="506">Appends a brief, human-readable description of the GPG signature at
@signature_index in @result to the @output_buffer. The description
spans multiple lines. A @line_prefix string, if given, will precede
each line of the description.
It is a programmer error to request an invalid @signature_index. Use
ostree_gpg_verify_result_count_all() to find the number of signatures in
@result.</doc>
- <source-position filename="ostree-gpg-verify-result.h" line="141"/>
+ <source-position filename="ostree-gpg-verify-result.h" line="139"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="510">an #OstreeGpgVerifyResult</doc>
+ line="508">an #OstreeGpgVerifyResult</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</instance-parameter>
<parameter name="signature_index" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="511">which signature to describe</doc>
+ line="509">which signature to describe</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="output_buffer" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="512">a #GString to hold the description</doc>
+ line="510">a #GString to hold the description</doc>
<type name="GLib.String" c:type="GString*"/>
</parameter>
<parameter name="line_prefix"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="513">optional line prefix string</doc>
+ line="511">optional line prefix string</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="514">flags to adjust the description format</doc>
+ line="512">flags to adjust the description format</doc>
<type name="GpgSignatureFormatFlags"
c:type="OstreeGpgSignatureFormatFlags"/>
</parameter>
<method name="get" c:identifier="ostree_gpg_verify_result_get">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="288">Builds a #GVariant tuple of requested attributes for the GPG signature at
+ line="286">Builds a #GVariant tuple of requested attributes for the GPG signature at
@signature_index in @result. See the #OstreeGpgSignatureAttr description
for the #GVariantType of each available attribute.
It is a programmer error to request an invalid #OstreeGpgSignatureAttr or
an invalid @signature_index. Use ostree_gpg_verify_result_count_all() to
find the number of signatures in @result.</doc>
- <source-position filename="ostree-gpg-verify-result.h" line="118"/>
- <return-value transfer-ownership="full">
+ <source-position filename="ostree-gpg-verify-result.h" line="116"/>
+ <return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="303">a new, floating, #GVariant tuple</doc>
+ line="301">a new, floating, #GVariant tuple</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
<parameters>
<instance-parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="290">an #OstreeGpgVerifyResult</doc>
+ line="288">an #OstreeGpgVerifyResult</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</instance-parameter>
<parameter name="signature_index" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="291">which signature to get attributes from</doc>
+ line="289">which signature to get attributes from</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="attrs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="292">Array of requested attributes</doc>
+ line="290">Array of requested attributes</doc>
<array length="2"
zero-terminated="0"
c:type="OstreeGpgSignatureAttr*">
<parameter name="n_attrs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="293">Length of the @attrs array</doc>
+ line="291">Length of the @attrs array</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
<method name="get_all" c:identifier="ostree_gpg_verify_result_get_all">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="466">Builds a #GVariant tuple of all available attributes for the GPG signature
+ line="464">Builds a #GVariant tuple of all available attributes for the GPG signature
at @signature_index in @result.
The child values in the returned #GVariant tuple are ordered to match the
It is a programmer error to request an invalid @signature_index. Use
ostree_gpg_verify_result_count_all() to find the number of signatures in
@result.</doc>
- <source-position filename="ostree-gpg-verify-result.h" line="124"/>
- <return-value transfer-ownership="full">
+ <source-position filename="ostree-gpg-verify-result.h" line="122"/>
+ <return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="495">a new, floating, #GVariant tuple</doc>
+ line="493">a new, floating, #GVariant tuple</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
<parameters>
<instance-parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="468">an #OstreeGpgVerifyResult</doc>
+ line="466">an #OstreeGpgVerifyResult</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</instance-parameter>
<parameter name="signature_index" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="469">which signature to get attributes from</doc>
+ line="467">which signature to get attributes from</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
<method name="lookup" c:identifier="ostree_gpg_verify_result_lookup">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="223">Searches @result for a signature signed by @key_id. If a match is found,
+ line="221">Searches @result for a signature signed by @key_id. If a match is found,
the function returns %TRUE and sets @out_signature_index so that further
signature details can be obtained through ostree_gpg_verify_result_get().
If no match is found, the function returns %FALSE and leaves
@out_signature_index unchanged.</doc>
- <source-position filename="ostree-gpg-verify-result.h" line="113"/>
+ <source-position filename="ostree-gpg-verify-result.h" line="111"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="236">%TRUE on success, %FALSE on failure</doc>
+ line="234">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="225">an #OstreeGpgVerifyResult</doc>
+ line="223">an #OstreeGpgVerifyResult</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</instance-parameter>
<parameter name="key_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="226">a GPG key ID or fingerprint</doc>
+ line="224">a GPG key ID or fingerprint</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="out_signature_index"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="227">return location for the index of the signature
+ line="225">return location for the index of the signature
signed by @key_id, or %NULL</doc>
<type name="guint" c:type="guint*"/>
</parameter>
throws="1">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="748">Checks if the result contains at least one signature from the
+ line="746">Checks if the result contains at least one signature from the
trusted keyring. You can call this function immediately after
ostree_repo_verify_summary() or ostree_repo_verify_commit_ext() -
it will handle the %NULL @result and filled @error too.</doc>
- <source-position filename="ostree-gpg-verify-result.h" line="154"/>
+ <source-position filename="ostree-gpg-verify-result.h" line="152"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="758">%TRUE if @result was not %NULL and had at least one
+ line="756">%TRUE if @result was not %NULL and had at least one
signature from trusted keyring, otherwise %FALSE</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="750">an #OstreeGpgVerifyResult</doc>
+ line="748">an #OstreeGpgVerifyResult</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</instance-parameter>
</parameters>
<function-macro name="IS_ASYNC_PROGRESS"
c:identifier="OSTREE_IS_ASYNC_PROGRESS"
introspectable="0">
- <source-position filename="ostree-async-progress.h" line="31"/>
+ <source-position filename="ostree-async-progress.h" line="29"/>
<parameters>
<parameter name="o">
</parameter>
<function-macro name="IS_ASYNC_PROGRESS_CLASS"
c:identifier="OSTREE_IS_ASYNC_PROGRESS_CLASS"
introspectable="0">
- <source-position filename="ostree-async-progress.h" line="32"/>
+ <source-position filename="ostree-async-progress.h" line="30"/>
<parameters>
<parameter name="k">
</parameter>
<function-macro name="IS_BOOTCONFIG_PARSER"
c:identifier="OSTREE_IS_BOOTCONFIG_PARSER"
introspectable="0">
- <source-position filename="ostree-bootconfig-parser.h" line="28"/>
+ <source-position filename="ostree-bootconfig-parser.h" line="26"/>
<parameters>
<parameter name="inst">
</parameter>
<function-macro name="IS_BOOTLOADER"
c:identifier="OSTREE_IS_BOOTLOADER"
introspectable="0">
- <source-position filename="ostree-bootloader.h" line="29"/>
+ <source-position filename="ostree-bootloader.h" line="27"/>
<parameters>
<parameter name="inst">
</parameter>
<function-macro name="IS_BOOTLOADER_GRUB2"
c:identifier="OSTREE_IS_BOOTLOADER_GRUB2"
introspectable="0">
- <source-position filename="ostree-bootloader-grub2.h" line="28"/>
+ <source-position filename="ostree-bootloader-grub2.h" line="26"/>
<parameters>
<parameter name="inst">
</parameter>
<function-macro name="IS_BOOTLOADER_SYSLINUX"
c:identifier="OSTREE_IS_BOOTLOADER_SYSLINUX"
introspectable="0">
- <source-position filename="ostree-bootloader-syslinux.h" line="28"/>
+ <source-position filename="ostree-bootloader-syslinux.h" line="26"/>
<parameters>
<parameter name="inst">
</parameter>
<function-macro name="IS_BOOTLOADER_UBOOT"
c:identifier="OSTREE_IS_BOOTLOADER_UBOOT"
introspectable="0">
- <source-position filename="ostree-bootloader-uboot.h" line="32"/>
+ <source-position filename="ostree-bootloader-uboot.h" line="30"/>
<parameters>
<parameter name="inst">
</parameter>
<function-macro name="IS_BOOTLOADER_ZIPL"
c:identifier="OSTREE_IS_BOOTLOADER_ZIPL"
introspectable="0">
- <source-position filename="ostree-bootloader-zipl.h" line="28"/>
+ <source-position filename="ostree-bootloader-zipl.h" line="26"/>
<parameters>
<parameter name="inst">
</parameter>
<function-macro name="IS_CHECKSUM_INPUT_STREAM"
c:identifier="OSTREE_IS_CHECKSUM_INPUT_STREAM"
introspectable="0">
- <source-position filename="ostree-checksum-input-stream.h" line="32"/>
+ <source-position filename="ostree-checksum-input-stream.h" line="30"/>
<parameters>
<parameter name="o">
</parameter>
<function-macro name="IS_CHECKSUM_INPUT_STREAM_CLASS"
c:identifier="OSTREE_IS_CHECKSUM_INPUT_STREAM_CLASS"
introspectable="0">
- <source-position filename="ostree-checksum-input-stream.h" line="33"/>
+ <source-position filename="ostree-checksum-input-stream.h" line="31"/>
<parameters>
<parameter name="k">
</parameter>
<function-macro name="IS_DEPLOYMENT"
c:identifier="OSTREE_IS_DEPLOYMENT"
introspectable="0">
- <source-position filename="ostree-deployment.h" line="28"/>
+ <source-position filename="ostree-deployment.h" line="26"/>
<parameters>
<parameter name="inst">
</parameter>
<function-macro name="IS_GPG_VERIFIER"
c:identifier="OSTREE_IS_GPG_VERIFIER"
introspectable="0">
- <source-position filename="ostree-gpg-verifier.h" line="34"/>
+ <source-position filename="ostree-gpg-verifier.h" line="32"/>
<parameters>
<parameter name="obj">
</parameter>
<function-macro name="IS_GPG_VERIFY_RESULT"
c:identifier="OSTREE_IS_GPG_VERIFY_RESULT"
introspectable="0">
- <source-position filename="ostree-gpg-verify-result.h" line="32"/>
+ <source-position filename="ostree-gpg-verify-result.h" line="30"/>
<parameters>
<parameter name="obj">
</parameter>
<function-macro name="IS_LIBARCHIVE_INPUT_STREAM"
c:identifier="OSTREE_IS_LIBARCHIVE_INPUT_STREAM"
introspectable="0">
- <source-position filename="ostree-libarchive-input-stream.h" line="34"/>
+ <source-position filename="ostree-libarchive-input-stream.h" line="32"/>
<parameters>
<parameter name="o">
</parameter>
<function-macro name="IS_LIBARCHIVE_INPUT_STREAM_CLASS"
c:identifier="OSTREE_IS_LIBARCHIVE_INPUT_STREAM_CLASS"
introspectable="0">
- <source-position filename="ostree-libarchive-input-stream.h" line="35"/>
+ <source-position filename="ostree-libarchive-input-stream.h" line="33"/>
<parameters>
<parameter name="k">
</parameter>
<function-macro name="IS_MUTABLE_TREE"
c:identifier="OSTREE_IS_MUTABLE_TREE"
introspectable="0">
- <source-position filename="ostree-mutable-tree.h" line="33"/>
+ <source-position filename="ostree-mutable-tree.h" line="31"/>
<parameters>
<parameter name="o">
</parameter>
<function-macro name="IS_MUTABLE_TREE_CLASS"
c:identifier="OSTREE_IS_MUTABLE_TREE_CLASS"
introspectable="0">
- <source-position filename="ostree-mutable-tree.h" line="34"/>
+ <source-position filename="ostree-mutable-tree.h" line="32"/>
<parameters>
<parameter name="k">
</parameter>
<function-macro name="IS_REPO"
c:identifier="OSTREE_IS_REPO"
introspectable="0">
- <source-position filename="ostree-repo.h" line="42"/>
+ <source-position filename="ostree-repo.h" line="40"/>
<parameters>
<parameter name="obj">
</parameter>
<function-macro name="IS_REPO_FILE"
c:identifier="OSTREE_IS_REPO_FILE"
introspectable="0">
- <source-position filename="ostree-repo-file.h" line="33"/>
+ <source-position filename="ostree-repo-file.h" line="31"/>
<parameters>
<parameter name="o">
</parameter>
<function-macro name="IS_REPO_FILE_CLASS"
c:identifier="OSTREE_IS_REPO_FILE_CLASS"
introspectable="0">
- <source-position filename="ostree-repo-file.h" line="34"/>
+ <source-position filename="ostree-repo-file.h" line="32"/>
<parameters>
<parameter name="k">
</parameter>
<function-macro name="IS_REPO_FILE_ENUMERATOR"
c:identifier="OSTREE_IS_REPO_FILE_ENUMERATOR"
introspectable="0">
- <source-position filename="ostree-repo-file-enumerator.h" line="33"/>
+ <source-position filename="ostree-repo-file-enumerator.h" line="31"/>
<parameters>
<parameter name="o">
</parameter>
<function-macro name="IS_REPO_FILE_ENUMERATOR_CLASS"
c:identifier="OSTREE_IS_REPO_FILE_ENUMERATOR_CLASS"
introspectable="0">
- <source-position filename="ostree-repo-file-enumerator.h" line="34"/>
+ <source-position filename="ostree-repo-file-enumerator.h" line="32"/>
<parameters>
<parameter name="k">
</parameter>
<function-macro name="IS_SEPOLICY"
c:identifier="OSTREE_IS_SEPOLICY"
introspectable="0">
- <source-position filename="ostree-sepolicy.h" line="31"/>
+ <source-position filename="ostree-sepolicy.h" line="29"/>
<parameters>
<parameter name="obj">
</parameter>
<function-macro name="IS_SYSROOT"
c:identifier="OSTREE_IS_SYSROOT"
introspectable="0">
- <source-position filename="ostree-sysroot.h" line="32"/>
+ <source-position filename="ostree-sysroot.h" line="38"/>
<parameters>
<parameter name="obj">
</parameter>
<function-macro name="IS_SYSROOT_UPGRADER"
c:identifier="OSTREE_IS_SYSROOT_UPGRADER"
introspectable="0">
- <source-position filename="ostree-sysroot-upgrader.h" line="31"/>
+ <source-position filename="ostree-sysroot-upgrader.h" line="29"/>
<parameters>
<parameter name="obj">
</parameter>
</parameters>
</function-macro>
<record name="KernelArgs" c:type="OstreeKernelArgs" disguised="1">
- <source-position filename="ostree-kernel-args.h" line="29"/>
+ <source-position filename="ostree-kernel-args.h" line="27"/>
<method name="append"
c:identifier="ostree_kernel_args_append"
version="2019.3">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="506">Appends @arg which is in the form of key=value pair to the hash table kargs->table
+ line="504">Appends @arg which is in the form of key=value pair to the hash table kargs->table
(appends to the value list if key is already in the hash table)
and appends key to kargs->order if it is not in the hash table already.</doc>
- <source-position filename="ostree-kernel-args.h" line="86"/>
+ <source-position filename="ostree-kernel-args.h" line="84"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="kargs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="508">a OstreeKernelArgs instance</doc>
+ line="506">a OstreeKernelArgs instance</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</instance-parameter>
<parameter name="arg" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="509">key or key/value pair to be added</doc>
+ line="507">key or key/value pair to be added</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
version="2019.3">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="594">Appends each value in @argv to the corresponding value array and
+ line="592">Appends each value in @argv to the corresponding value array and
appends key to kargs->order if it is not in the hash table already.</doc>
- <source-position filename="ostree-kernel-args.h" line="90"/>
+ <source-position filename="ostree-kernel-args.h" line="88"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="kargs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="596">a OstreeKernelArgs instance</doc>
+ line="594">a OstreeKernelArgs instance</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</instance-parameter>
<parameter name="argv" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="597">an array of key=value argument pairs</doc>
+ line="595">an array of key=value argument pairs</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
version="2019.3">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="568">Appends each argument that does not have one of the @prefixes as prefix to the @kargs</doc>
- <source-position filename="ostree-kernel-args.h" line="94"/>
+ line="566">Appends each argument that does not have one of the @prefixes as prefix to the @kargs</doc>
+ <source-position filename="ostree-kernel-args.h" line="92"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="kargs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="570">a OstreeKernelArgs instance</doc>
+ line="568">a OstreeKernelArgs instance</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</instance-parameter>
<parameter name="argv" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="571">an array of key=value argument pairs</doc>
+ line="569">an array of key=value argument pairs</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="prefixes" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="572">an array of prefix strings</doc>
+ line="570">an array of prefix strings</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="611">Appends the command line arguments in the file "/proc/cmdline"
+ line="609">Appends the command line arguments in the file "/proc/cmdline"
that does not have "BOOT_IMAGE=" and "initrd=" as prefixes to the @kargs</doc>
- <source-position filename="ostree-kernel-args.h" line="114"/>
+ <source-position filename="ostree-kernel-args.h" line="112"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="620">%TRUE on success, %FALSE on failure</doc>
+ line="618">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="kargs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="613">a OstreeKernelArgs instance</doc>
+ line="611">a OstreeKernelArgs instance</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="614">optional GCancellable object, NULL to ignore</doc>
+ line="612">optional GCancellable object, NULL to ignore</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="372">There are few scenarios being handled for deletion:
+ line="370">There are few scenarios being handled for deletion:
1: for input arg with a single key(i.e without = for split),
the key/value pair will be deleted if there is only
Returns: %TRUE on success, %FALSE on failure
Since: 2019.3</doc>
- <source-position filename="ostree-kernel-args.h" line="104"/>
+ <source-position filename="ostree-kernel-args.h" line="102"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="kargs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="374">a OstreeKernelArgs instance</doc>
+ line="372">a OstreeKernelArgs instance</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</instance-parameter>
<parameter name="arg" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="375">key or key/value pair for deletion</doc>
+ line="373">key or key/value pair for deletion</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="332">This function removes the key entry from the hashtable
+ line="330">This function removes the key entry from the hashtable
as well from the order pointer array inside kargs
Note: since both table and order inside kernel args
are with free function, no extra free functions are
being called as they are done automatically by GLib</doc>
- <source-position filename="ostree-kernel-args.h" line="109"/>
+ <source-position filename="ostree-kernel-args.h" line="107"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="345">%TRUE on success, %FALSE on failure</doc>
+ line="343">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="kargs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="334">an OstreeKernelArgs instance</doc>
+ line="332">an OstreeKernelArgs instance</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</instance-parameter>
<parameter name="key" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="335">the key to remove</doc>
+ line="333">the key to remove</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
version="2019.3">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="198">Frees the kargs structure</doc>
- <source-position filename="ostree-kernel-args.h" line="65"/>
+ line="196">Frees the kargs structure</doc>
+ <source-position filename="ostree-kernel-args.h" line="63"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="kargs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="200">An OstreeKernelArgs that represents kernel arguments</doc>
+ line="198">An OstreeKernelArgs that represents kernel arguments</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</instance-parameter>
</parameters>
version="2019.3">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="783">Finds and returns the last element of value array
+ line="781">Finds and returns the last element of value array
corresponding to the @key in @kargs hash table. Note that the application
will be terminated if the @key is found but the value array is empty</doc>
- <source-position filename="ostree-kernel-args.h" line="123"/>
+ <source-position filename="ostree-kernel-args.h" line="121"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="792">NULL if @key is not found in the @kargs hash table,
+ line="790">NULL if @key is not found in the @kargs hash table,
otherwise returns last element of value array corresponding to @key</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<instance-parameter name="kargs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="785">a OstreeKernelArgs instance</doc>
+ line="783">a OstreeKernelArgs instance</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</instance-parameter>
<parameter name="key" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="786">a key to look for in @kargs hash table</doc>
+ line="784">a key to look for in @kargs hash table</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="266">This function implements the basic logic behind key/value pair
+ line="264">This function implements the basic logic behind key/value pair
replacement. Do note that the arg need to be properly formatted
When replacing key with exact one value, the arg can be in
there is an empty value associated with the key, then
key=new_val will work because old_val is empty. The empty
val will be swapped with the new_val in that case</doc>
- <source-position filename="ostree-kernel-args.h" line="99"/>
+ <source-position filename="ostree-kernel-args.h" line="97"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="288">%TRUE on success, %FALSE on failure (and in some other instances such as:
+ line="286">%TRUE on success, %FALSE on failure (and in some other instances such as:
1. key not found in @kargs
2. old value not found when @arg is in the form of key=old_val=new_val
3. multiple old values found when @arg is in the form of key=old_val)</doc>
<instance-parameter name="kargs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="268">OstreeKernelArgs instance</doc>
+ line="266">OstreeKernelArgs instance</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</instance-parameter>
<parameter name="arg" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="269">a string argument</doc>
+ line="267">a string argument</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
version="2019.3">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="655">Parses @options by separating it by whitespaces and appends each argument to @kargs</doc>
- <source-position filename="ostree-kernel-args.h" line="119"/>
+ line="653">Parses @options by separating it by whitespaces and appends each argument to @kargs</doc>
+ <source-position filename="ostree-kernel-args.h" line="117"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="kargs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="657">a OstreeKernelArgs instance</doc>
+ line="655">a OstreeKernelArgs instance</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</instance-parameter>
<parameter name="options" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="658">a string representing command line arguments</doc>
+ line="656">a string representing command line arguments</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
version="2019.3">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="488">Finds and replaces the old key if @arg is already in the hash table,
+ line="486">Finds and replaces the old key if @arg is already in the hash table,
otherwise adds @arg as new key and split_keyeq (arg) as value.
Note that when replacing old key value pair, the old values are freed.</doc>
- <source-position filename="ostree-kernel-args.h" line="78"/>
+ <source-position filename="ostree-kernel-args.h" line="76"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="kargs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="490">a OstreeKernelArgs instance</doc>
+ line="488">a OstreeKernelArgs instance</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</instance-parameter>
<parameter name="arg" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="491">key or key/value pair for replacement</doc>
+ line="489">key or key/value pair for replacement</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
version="2019.3">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="544">Finds and replaces each non-null arguments of @argv in the hash table,
+ line="542">Finds and replaces each non-null arguments of @argv in the hash table,
otherwise adds individual arg as new key and split_keyeq (arg) as value.
Note that when replacing old key value pair, the old values are freed.</doc>
- <source-position filename="ostree-kernel-args.h" line="82"/>
+ <source-position filename="ostree-kernel-args.h" line="80"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="kargs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="546">a OstreeKernelArgs instance</doc>
+ line="544">a OstreeKernelArgs instance</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</instance-parameter>
<parameter name="argv" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="547">an array of key or key/value pairs</doc>
+ line="545">an array of key or key/value pairs</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
version="2019.3">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="437">Finds and replaces the old key if @arg is already in the hash table,
+ line="435">Finds and replaces the old key if @arg is already in the hash table,
otherwise adds @arg as new key and split_keyeq (arg) as value.
Note that when replacing old key, the old values are freed.</doc>
- <source-position filename="ostree-kernel-args.h" line="74"/>
+ <source-position filename="ostree-kernel-args.h" line="72"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="kargs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="439">a OstreeKernelArgs instance</doc>
+ line="437">a OstreeKernelArgs instance</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</instance-parameter>
<parameter name="arg" transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="440">key or key/value pair for replacement</doc>
+ line="438">key or key/value pair for replacement</doc>
<type name="utf8" c:type="char*"/>
</parameter>
</parameters>
version="2019.3">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="738">Extracts all key value pairs in @kargs and appends to a temporary
+ line="736">Extracts all key value pairs in @kargs and appends to a temporary
GString in forms of "key=value" or "key" if value is NULL separated
by a single whitespace, and returns the temporary string with the
GString wrapper freed
Note: the application will be terminated if one of the values array
in @kargs is NULL</doc>
- <source-position filename="ostree-kernel-args.h" line="133"/>
+ <source-position filename="ostree-kernel-args.h" line="131"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="750">a string of "key=value" pairs or "key" if value is NULL,
+ line="748">a string of "key=value" pairs or "key" if value is NULL,
separated by single whitespaces</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<instance-parameter name="kargs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="740">a OstreeKernelArgs instance</doc>
+ line="738">a OstreeKernelArgs instance</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</instance-parameter>
</parameters>
version="2019.3">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="705">Extracts all key value pairs in @kargs and appends to a temporary
+ line="703">Extracts all key value pairs in @kargs and appends to a temporary
array in forms of "key=value" or "key" if value is NULL, and returns
the temporary array with the GPtrArray wrapper freed</doc>
- <source-position filename="ostree-kernel-args.h" line="130"/>
+ <source-position filename="ostree-kernel-args.h" line="128"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="713">an array of "key=value" pairs or "key" if value is NULL</doc>
+ line="711">an array of "key=value" pairs or "key" if value is NULL</doc>
<array c:type="char**">
<type name="utf8"/>
</array>
<instance-parameter name="kargs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="707">a OstreeKernelArgs instance</doc>
+ line="705">a OstreeKernelArgs instance</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</instance-parameter>
</parameters>
version="2019.3">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="216">Frees the OstreeKernelArgs structure pointed by *loc</doc>
- <source-position filename="ostree-kernel-args.h" line="71"/>
+ line="214">Frees the OstreeKernelArgs structure pointed by *loc</doc>
+ <source-position filename="ostree-kernel-args.h" line="69"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="218">Address of an OstreeKernelArgs pointer</doc>
+ line="216">Address of an OstreeKernelArgs pointer</doc>
<type name="gpointer" c:type="void*"/>
</parameter>
</parameters>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="683">Initializes a new OstreeKernelArgs then parses and appends @options
+ line="681">Initializes a new OstreeKernelArgs then parses and appends @options
to the empty OstreeKernelArgs</doc>
- <source-position filename="ostree-kernel-args.h" line="127"/>
+ <source-position filename="ostree-kernel-args.h" line="125"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="690">newly allocated #OstreeKernelArgs with @options appended</doc>
+ line="688">newly allocated #OstreeKernelArgs with @options appended</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</return-value>
<parameters>
<parameter name="options" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="685">a string representing command line arguments</doc>
+ line="683">a string representing command line arguments</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="176">Initializes a new OstreeKernelArgs structure and returns it</doc>
- <source-position filename="ostree-kernel-args.h" line="68"/>
+ line="174">Initializes a new OstreeKernelArgs structure and returns it</doc>
+ <source-position filename="ostree-kernel-args.h" line="66"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="181">A newly created #OstreeKernelArgs for kernel arguments</doc>
+ line="179">A newly created #OstreeKernelArgs for kernel arguments</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</return-value>
</function>
<record name="KernelArgsEntry"
c:type="OstreeKernelArgsEntry"
disguised="1">
- <source-position filename="ostree-kernel-args.h" line="30"/>
+ <source-position filename="ostree-kernel-args.h" line="28"/>
</record>
<function-macro name="LIBARCHIVE_INPUT_STREAM"
c:identifier="OSTREE_LIBARCHIVE_INPUT_STREAM"
introspectable="0">
- <source-position filename="ostree-libarchive-input-stream.h" line="32"/>
+ <source-position filename="ostree-libarchive-input-stream.h" line="30"/>
<parameters>
<parameter name="o">
</parameter>
<function-macro name="LIBARCHIVE_INPUT_STREAM_CLASS"
c:identifier="OSTREE_LIBARCHIVE_INPUT_STREAM_CLASS"
introspectable="0">
- <source-position filename="ostree-libarchive-input-stream.h" line="33"/>
+ <source-position filename="ostree-libarchive-input-stream.h" line="31"/>
<parameters>
<parameter name="k">
</parameter>
<function-macro name="LIBARCHIVE_INPUT_STREAM_GET_CLASS"
c:identifier="OSTREE_LIBARCHIVE_INPUT_STREAM_GET_CLASS"
introspectable="0">
- <source-position filename="ostree-libarchive-input-stream.h" line="36"/>
+ <source-position filename="ostree-libarchive-input-stream.h" line="34"/>
<parameters>
<parameter name="o">
</parameter>
</parameters>
</function-macro>
<record name="LibarchiveInputStream" c:type="OstreeLibarchiveInputStream">
- <source-position filename="ostree-libarchive-input-stream.h" line="48"/>
+ <source-position filename="ostree-libarchive-input-stream.h" line="46"/>
<field name="parent_instance" writable="1">
<type name="Gio.InputStream" c:type="GInputStream"/>
</field>
</record>
<record name="LibarchiveInputStreamClass"
c:type="OstreeLibarchiveInputStreamClass">
- <source-position filename="ostree-libarchive-input-stream.h" line="61"/>
+ <source-position filename="ostree-libarchive-input-stream.h" line="59"/>
<field name="parent_class" writable="1">
<type name="Gio.InputStreamClass" c:type="GInputStreamClass"/>
</field>
<field name="_g_reserved1" introspectable="0">
<callback name="_g_reserved1">
<source-position filename="ostree-libarchive-input-stream.h"
- line="56"/>
+ line="54"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<field name="_g_reserved2" introspectable="0">
<callback name="_g_reserved2">
<source-position filename="ostree-libarchive-input-stream.h"
- line="57"/>
+ line="55"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<field name="_g_reserved3" introspectable="0">
<callback name="_g_reserved3">
<source-position filename="ostree-libarchive-input-stream.h"
- line="58"/>
+ line="56"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<field name="_g_reserved4" introspectable="0">
<callback name="_g_reserved4">
<source-position filename="ostree-libarchive-input-stream.h"
- line="59"/>
+ line="57"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<field name="_g_reserved5" introspectable="0">
<callback name="_g_reserved5">
<source-position filename="ostree-libarchive-input-stream.h"
- line="60"/>
+ line="58"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<record name="LibarchiveInputStreamPrivate"
c:type="OstreeLibarchiveInputStreamPrivate"
disguised="1">
- <source-position filename="ostree-libarchive-input-stream.h" line="40"/>
+ <source-position filename="ostree-libarchive-input-stream.h" line="38"/>
</record>
<record name="LzmaCompressor" c:type="OstreeLzmaCompressor" disguised="1">
<doc xml:space="preserve"
c:type="OSTREE_MAX_METADATA_SIZE">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="32">Default limit for maximum permitted size in bytes of metadata objects fetched
+ line="30">Default limit for maximum permitted size in bytes of metadata objects fetched
over HTTP (including repo/config files, refs, and commit/dirtree/dirmeta
objects). This is an arbitrary number intended to mitigate disk space
exhaustion attacks.</doc>
- <source-position filename="ostree-core.h" line="40"/>
+ <source-position filename="ostree-core.h" line="38"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="MAX_METADATA_WARN_SIZE"
c:type="OSTREE_MAX_METADATA_WARN_SIZE">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="42">This variable is no longer meaningful, it is kept only for compatibility.</doc>
- <source-position filename="ostree-core.h" line="47"/>
+ line="40">This variable is no longer meaningful, it is kept only for compatibility.</doc>
+ <source-position filename="ostree-core.h" line="45"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="METADATA_KEY_BOOTABLE"
version="2021.1">
<doc xml:space="preserve"
filename="ostree-repo-os.h"
- line="28">GVariant type `b`: Set if this commit is intended to be bootable</doc>
- <source-position filename="ostree-repo-os.h" line="34"/>
+ line="26">GVariant type `b`: Set if this commit is intended to be bootable</doc>
+ <source-position filename="ostree-repo-os.h" line="32"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="METADATA_KEY_LINUX"
version="2021.1">
<doc xml:space="preserve"
filename="ostree-repo-os.h"
- line="35">GVariant type `s`: Contains the Linux kernel release (i.e. `uname -r`)</doc>
- <source-position filename="ostree-repo-os.h" line="41"/>
+ line="33">GVariant type `s`: Contains the Linux kernel release (i.e. `uname -r`)</doc>
+ <source-position filename="ostree-repo-os.h" line="39"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="META_KEY_DEPLOY_COLLECTION_ID"
version="2018.9">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1644">GVariant type `s`. This key can be used in the repo metadata which is stored
+ line="1661">GVariant type `s`. This key can be used in the repo metadata which is stored
in OSTREE_REPO_METADATA_REF as well as in the summary. The semantics of this
are that the remote repository wants clients to update their remote config
to add this collection ID (clients can't do P2P operations involving a
This is a replacement for the similar metadata key implemented by flatpak,
`xa.collection-id`, which is now deprecated as clients which supported it had
bugs with their P2P implementations.</doc>
- <source-position filename="ostree-repo.h" line="1665"/>
+ <source-position filename="ostree-repo.h" line="1682"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<function-macro name="MUTABLE_TREE"
c:identifier="OSTREE_MUTABLE_TREE"
introspectable="0">
- <source-position filename="ostree-mutable-tree.h" line="31"/>
+ <source-position filename="ostree-mutable-tree.h" line="29"/>
<parameters>
<parameter name="o">
</parameter>
<function-macro name="MUTABLE_TREE_CLASS"
c:identifier="OSTREE_MUTABLE_TREE_CLASS"
introspectable="0">
- <source-position filename="ostree-mutable-tree.h" line="32"/>
+ <source-position filename="ostree-mutable-tree.h" line="30"/>
<parameters>
<parameter name="k">
</parameter>
<function-macro name="MUTABLE_TREE_GET_CLASS"
c:identifier="OSTREE_MUTABLE_TREE_GET_CLASS"
introspectable="0">
- <source-position filename="ostree-mutable-tree.h" line="35"/>
+ <source-position filename="ostree-mutable-tree.h" line="33"/>
<parameters>
<parameter name="o">
</parameter>
glib:type-struct="MutableTreeClass">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="52">Private instance structure.</doc>
- <source-position filename="ostree-mutable-tree.h" line="47"/>
+ line="50">Private instance structure.</doc>
+ <source-position filename="ostree-mutable-tree.h" line="45"/>
<constructor name="new" c:identifier="ostree_mutable_tree_new">
- <source-position filename="ostree-mutable-tree.h" line="53"/>
+ <source-position filename="ostree-mutable-tree.h" line="51"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="651">A new tree</doc>
+ line="648">A new tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</return-value>
</constructor>
version="2018.7">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="659">Creates a new OstreeMutableTree with the contents taken from the given repo
+ line="656">Creates a new OstreeMutableTree with the contents taken from the given repo
and checksums. The data will be loaded from the repo lazily as needed.</doc>
- <source-position filename="ostree-mutable-tree.h" line="62"/>
+ <source-position filename="ostree-mutable-tree.h" line="60"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="668">A new tree</doc>
+ line="665">A new tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</return-value>
<parameters>
<parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="661">The repo which contains the objects refered by the checksums.</doc>
+ line="658">The repo which contains the objects refered by the checksums.</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="contents_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="662">dirtree checksum</doc>
+ line="659">dirtree checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="metadata_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="663">dirmeta checksum</doc>
+ line="660">dirmeta checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="685">Creates a new OstreeMutableTree with the contents taken from the given commit.
+ line="682">Creates a new OstreeMutableTree with the contents taken from the given commit.
The data will be loaded from the repo lazily as needed.</doc>
- <source-position filename="ostree-mutable-tree.h" line="57"/>
+ <source-position filename="ostree-mutable-tree.h" line="55"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="693">A new tree</doc>
+ line="690">A new tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</return-value>
<parameters>
<parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="687">The repo which contains the objects refered by the checksums.</doc>
+ line="684">The repo which contains the objects refered by the checksums.</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="rev" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="688">ref or SHA-256 checksum</doc>
+ line="685">ref or SHA-256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="623">In some cases, a tree may be in a "lazy" state that loads
+ line="620">In some cases, a tree may be in a "lazy" state that loads
data in the background; if an error occurred during a non-throwing
API call, it will have been cached. This function checks for a
cached error. The tree remains in error state.</doc>
- <source-position filename="ostree-mutable-tree.h" line="128"/>
+ <source-position filename="ostree-mutable-tree.h" line="126"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="633">`TRUE` on success</doc>
+ line="630">`TRUE` on success</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="625">Tree</doc>
+ line="622">Tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="363">Returns the subdirectory of self with filename @name, creating an empty one
+ line="361">Returns the subdirectory of self with filename @name, creating an empty one
it if it doesn't exist.</doc>
- <source-position filename="ostree-mutable-tree.h" line="93"/>
+ <source-position filename="ostree-mutable-tree.h" line="91"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="365">Tree</doc>
+ line="363">Tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="366">Name of subdirectory of self to retrieve/creates</doc>
+ line="364">Name of subdirectory of self to retrieve/creates</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_subdir"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="367">the subdirectory</doc>
+ line="365">the subdirectory</doc>
<type name="MutableTree" c:type="OstreeMutableTree**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="439">Create all parent trees necessary for the given @split_path to
+ line="437">Create all parent trees necessary for the given @split_path to
exist.</doc>
- <source-position filename="ostree-mutable-tree.h" line="107"/>
+ <source-position filename="ostree-mutable-tree.h" line="105"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="441">Tree</doc>
+ line="439">Tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</instance-parameter>
<parameter name="split_path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="442">File path components</doc>
+ line="440">File path components</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="utf8"/>
</array>
<parameter name="metadata_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="443">SHA256 checksum for metadata</doc>
+ line="441">SHA256 checksum for metadata</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_parent"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="444">The parent tree</doc>
+ line="442">The parent tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree**"/>
</parameter>
</parameters>
version="2018.7">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="493">Merges @self with the tree given by @contents_checksum and
+ line="492">Merges @self with the tree given by @contents_checksum and
@metadata_checksum, but only if it's possible without writing new objects to
the @repo. We can do this if either @self is empty, the tree given by
@contents_checksum is empty or if both trees already have the same
@contents_checksum.</doc>
- <source-position filename="ostree-mutable-tree.h" line="121"/>
+ <source-position filename="ostree-mutable-tree.h" line="119"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="502">@TRUE if merge was successful, @FALSE if it was not possible.
+ line="501">@TRUE if merge was successful, @FALSE if it was not possible.
This function enables optimisations when composing trees. The provided
checksums are not loaded or checked when this function is called. Instead
</method>
<method name="get_contents_checksum"
c:identifier="ostree_mutable_tree_get_contents_checksum">
- <source-position filename="ostree-mutable-tree.h" line="78"/>
+ <source-position filename="ostree-mutable-tree.h" line="76"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</return-value>
</parameters>
</method>
<method name="get_files" c:identifier="ostree_mutable_tree_get_files">
- <source-position filename="ostree-mutable-tree.h" line="134"/>
+ <source-position filename="ostree-mutable-tree.h" line="132"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="614">All children files (the value is a checksum)</doc>
+ line="611">All children files (the value is a checksum)</doc>
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="utf8"/>
<type name="utf8"/>
</method>
<method name="get_metadata_checksum"
c:identifier="ostree_mutable_tree_get_metadata_checksum">
- <source-position filename="ostree-mutable-tree.h" line="71"/>
+ <source-position filename="ostree-mutable-tree.h" line="69"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</return-value>
</method>
<method name="get_subdirs"
c:identifier="ostree_mutable_tree_get_subdirs">
- <source-position filename="ostree-mutable-tree.h" line="132"/>
+ <source-position filename="ostree-mutable-tree.h" line="130"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="601">All children directories</doc>
+ line="598">All children directories</doc>
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="utf8"/>
<type name="MutableTree"/>
<method name="lookup"
c:identifier="ostree_mutable_tree_lookup"
throws="1">
- <source-position filename="ostree-mutable-tree.h" line="99"/>
+ <source-position filename="ostree-mutable-tree.h" line="97"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="406">Tree</doc>
+ line="404">Tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="407">name</doc>
+ line="405">name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_file_checksum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="408">checksum</doc>
+ line="406">checksum</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="out_subdir"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="409">subdirectory</doc>
+ line="407">subdirectory</doc>
<type name="MutableTree" c:type="OstreeMutableTree**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="326">Remove the file or subdirectory named @name from the mutable tree @self.</doc>
- <source-position filename="ostree-mutable-tree.h" line="87"/>
+ line="324">Remove the file or subdirectory named @name from the mutable tree @self.</doc>
+ <source-position filename="ostree-mutable-tree.h" line="85"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="328">Tree</doc>
+ line="326">Tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="329">Name of file or subdirectory to remove</doc>
+ line="327">Name of file or subdirectory to remove</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="allow_noent" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="330">If @FALSE, an error will be thrown if @name does not exist in the tree</doc>
+ line="328">If @FALSE, an error will be thrown if @name does not exist in the tree</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
<method name="replace_file"
c:identifier="ostree_mutable_tree_replace_file"
throws="1">
- <source-position filename="ostree-mutable-tree.h" line="81"/>
+ <source-position filename="ostree-mutable-tree.h" line="79"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
<method name="set_contents_checksum"
c:identifier="ostree_mutable_tree_set_contents_checksum">
- <source-position filename="ostree-mutable-tree.h" line="74"/>
+ <source-position filename="ostree-mutable-tree.h" line="72"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
</method>
<method name="set_metadata_checksum"
c:identifier="ostree_mutable_tree_set_metadata_checksum">
- <source-position filename="ostree-mutable-tree.h" line="67"/>
+ <source-position filename="ostree-mutable-tree.h" line="65"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<method name="walk" c:identifier="ostree_mutable_tree_walk" throws="1">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="558">Traverse @start number of elements starting from @split_path; the
+ line="557">Traverse @start number of elements starting from @split_path; the
child will be returned in @out_subdir.</doc>
- <source-position filename="ostree-mutable-tree.h" line="114"/>
+ <source-position filename="ostree-mutable-tree.h" line="112"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="560">Tree</doc>
+ line="559">Tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</instance-parameter>
<parameter name="split_path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="561">Split pathname</doc>
+ line="560">Split pathname</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="utf8"/>
</array>
<parameter name="start" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="562">Descend from this number of elements in @split_path</doc>
+ line="561">Descend from this number of elements in @split_path</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="out_subdir"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="563">Target parent</doc>
+ line="562">Target parent</doc>
<type name="MutableTree" c:type="OstreeMutableTree**"/>
</parameter>
</parameters>
<record name="MutableTreeClass"
c:type="OstreeMutableTreeClass"
glib:is-gtype-struct-for="MutableTree">
- <source-position filename="ostree-mutable-tree.h" line="47"/>
+ <source-position filename="ostree-mutable-tree.h" line="45"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<record name="MutableTreeIter" c:type="OstreeMutableTreeIter">
- <source-position filename="ostree-mutable-tree.h" line="42"/>
+ <source-position filename="ostree-mutable-tree.h" line="40"/>
<field name="in_files" writable="1">
<type name="gboolean" c:type="gboolean"/>
</field>
<function-macro name="OBJECT_TYPE_IS_META"
c:identifier="OSTREE_OBJECT_TYPE_IS_META"
introspectable="0">
- <source-position filename="ostree-core.h" line="92"/>
+ <source-position filename="ostree-core.h" line="94"/>
<parameters>
<parameter name="t">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="88">An #OstreeObjectType</doc>
+ line="90">An #OstreeObjectType</doc>
</parameter>
</parameters>
</function-macro>
version="2018.3">
<doc xml:space="preserve"
filename="ostree-deployment.h"
- line="30">The name of a `GKeyFile` group for data that should not
+ line="28">The name of a `GKeyFile` group for data that should not
be carried across upgrades. For more information,
see ostree_deployment_origin_remove_transient_state().</doc>
- <source-position filename="ostree-deployment.h" line="39"/>
+ <source-position filename="ostree-deployment.h" line="37"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<enumeration name="ObjectType" c:type="OstreeObjectType">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="63">Enumeration for core object types; %OSTREE_OBJECT_TYPE_FILE is for
+ line="61">Enumeration for core object types; %OSTREE_OBJECT_TYPE_FILE is for
content, the other types are metadata.</doc>
- <source-position filename="ostree-core.h" line="84"/>
+ <source-position filename="ostree-core.h" line="86"/>
<member name="file" value="1" c:identifier="OSTREE_OBJECT_TYPE_FILE">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="65">Content; regular file, symbolic link</doc>
+ line="63">Content; regular file, symbolic link</doc>
</member>
<member name="dir_tree"
value="2"
c:identifier="OSTREE_OBJECT_TYPE_DIR_TREE">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="66">List of children (trees or files), and metadata</doc>
+ line="64">List of children (trees or files), and metadata</doc>
</member>
<member name="dir_meta"
value="3"
c:identifier="OSTREE_OBJECT_TYPE_DIR_META">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="67">Directory metadata</doc>
+ line="65">Directory metadata</doc>
</member>
<member name="commit" value="4" c:identifier="OSTREE_OBJECT_TYPE_COMMIT">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="68">Toplevel object, refers to tree and dirmeta for root</doc>
+ line="66">Toplevel object, refers to tree and dirmeta for root</doc>
</member>
<member name="tombstone_commit"
value="5"
c:identifier="OSTREE_OBJECT_TYPE_TOMBSTONE_COMMIT">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="69">Toplevel object, refers to a deleted commit</doc>
+ line="67">Toplevel object, refers to a deleted commit</doc>
</member>
<member name="commit_meta"
value="6"
c:identifier="OSTREE_OBJECT_TYPE_COMMIT_META">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="70">Detached metadata for a commit</doc>
+ line="68">Detached metadata for a commit</doc>
</member>
<member name="payload_link"
value="7"
c:identifier="OSTREE_OBJECT_TYPE_PAYLOAD_LINK">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="71">Symlink to a .file given its checksum on the payload only.</doc>
+ line="69">Symlink to a .file given its checksum on the payload only.</doc>
+ </member>
+ <member name="file_xattrs"
+ value="8"
+ c:identifier="OSTREE_OBJECT_TYPE_FILE_XATTRS">
+ <doc xml:space="preserve"
+ filename="ostree-core.h"
+ line="70">Detached xattrs content, for 'bare-split-xattrs' mode.</doc>
+ </member>
+ <member name="file_xattrs_link"
+ value="9"
+ c:identifier="OSTREE_OBJECT_TYPE_FILE_XATTRS_LINK">
+ <doc xml:space="preserve"
+ filename="ostree-core.h"
+ line="71">Hardlink to a .file-xattrs given the checksum of its .file object.</doc>
</member>
</enumeration>
+ <constant name="PATH_BOOTED"
+ value="/run/ostree-booted"
+ c:type="OSTREE_PATH_BOOTED"
+ version="2022.2">
+ <doc xml:space="preserve"
+ filename="ostree-sysroot.h"
+ line="27">Filesystem path that is created on an ostree-booted system.</doc>
+ <source-position filename="ostree-sysroot.h" line="33"/>
+ <type name="utf8" c:type="gchar*"/>
+ </constant>
<constant name="RELEASE_VERSION"
- value="5"
+ value="2"
c:type="OSTREE_RELEASE_VERSION"
version="2017.4">
<doc xml:space="preserve"
filename="ostree-version.h"
- line="39">ostree release version component (e.g. 2 if %OSTREE_VERSION is 2017.2)</doc>
- <source-position filename="ostree-version.h" line="46"/>
+ line="37">ostree release version component (e.g. 2 if %OSTREE_VERSION is 2017.2)</doc>
+ <source-position filename="ostree-version.h" line="44"/>
<type name="gint" c:type="gint"/>
</constant>
<function-macro name="REPO" c:identifier="OSTREE_REPO" introspectable="0">
- <source-position filename="ostree-repo.h" line="40"/>
+ <source-position filename="ostree-repo.h" line="38"/>
<parameters>
<parameter name="obj">
</parameter>
<function-macro name="REPO_FILE"
c:identifier="OSTREE_REPO_FILE"
introspectable="0">
- <source-position filename="ostree-repo-file.h" line="31"/>
+ <source-position filename="ostree-repo-file.h" line="29"/>
<parameters>
<parameter name="o">
</parameter>
<function-macro name="REPO_FILE_CLASS"
c:identifier="OSTREE_REPO_FILE_CLASS"
introspectable="0">
- <source-position filename="ostree-repo-file.h" line="32"/>
+ <source-position filename="ostree-repo-file.h" line="30"/>
<parameters>
<parameter name="k">
</parameter>
<function-macro name="REPO_FILE_ENUMERATOR"
c:identifier="OSTREE_REPO_FILE_ENUMERATOR"
introspectable="0">
- <source-position filename="ostree-repo-file-enumerator.h" line="31"/>
+ <source-position filename="ostree-repo-file-enumerator.h" line="29"/>
<parameters>
<parameter name="o">
</parameter>
<function-macro name="REPO_FILE_ENUMERATOR_CLASS"
c:identifier="OSTREE_REPO_FILE_ENUMERATOR_CLASS"
introspectable="0">
- <source-position filename="ostree-repo-file-enumerator.h" line="32"/>
+ <source-position filename="ostree-repo-file-enumerator.h" line="30"/>
<parameters>
<parameter name="k">
</parameter>
<function-macro name="REPO_FILE_ENUMERATOR_GET_CLASS"
c:identifier="OSTREE_REPO_FILE_ENUMERATOR_GET_CLASS"
introspectable="0">
- <source-position filename="ostree-repo-file-enumerator.h" line="35"/>
+ <source-position filename="ostree-repo-file-enumerator.h" line="33"/>
<parameters>
<parameter name="o">
</parameter>
<function-macro name="REPO_FILE_GET_CLASS"
c:identifier="OSTREE_REPO_FILE_GET_CLASS"
introspectable="0">
- <source-position filename="ostree-repo-file.h" line="35"/>
+ <source-position filename="ostree-repo-file.h" line="33"/>
<parameters>
<parameter name="o">
</parameter>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1621">The name of a ref which is used to store metadata for the entire repository,
+ line="1638">The name of a ref which is used to store metadata for the entire repository,
such as its expected update time (`ostree.summary.expires`), name, or new
GPG keys. Metadata is stored on contentless commits in the ref, and hence is
signed with the commits.
Users of OSTree may place arbitrary metadata in commits on this ref, but the
keys must be namespaced by product or developer. For example,
`exampleos.end-of-life`. The `ostree.` prefix is reserved.</doc>
- <source-position filename="ostree-repo.h" line="1642"/>
+ <source-position filename="ostree-repo.h" line="1659"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<record name="Remote"
c:symbol-prefix="remote">
<doc xml:space="preserve"
filename="ostree-remote.h"
- line="38">This represents the configuration for a single remote repository. Currently,
+ line="36">This represents the configuration for a single remote repository. Currently,
remotes can only be passed around as (reference counted) opaque handles. In
future, more API may be added to create and interrogate them.</doc>
- <source-position filename="ostree-types.h" line="42"/>
+ <source-position filename="ostree-types.h" line="40"/>
<method name="get_name"
c:identifier="ostree_remote_get_name"
version="2018.6">
<doc xml:space="preserve"
filename="ostree-remote.c"
- line="165">Get the human-readable name of the remote. This is what the user configured,
+ line="163">Get the human-readable name of the remote. This is what the user configured,
if the remote was explicitly configured; and will otherwise be a stable,
arbitrary, string.</doc>
- <source-position filename="ostree-remote.h" line="56"/>
+ <source-position filename="ostree-remote.h" line="54"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-remote.c"
- line="173">remote’s name</doc>
+ line="171">remote’s name</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="remote" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-remote.c"
- line="167">an #OstreeRemote</doc>
+ line="165">an #OstreeRemote</doc>
<type name="Remote" c:type="OstreeRemote*"/>
</instance-parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-remote.c"
- line="185">Get the URL from the remote.</doc>
- <source-position filename="ostree-remote.h" line="59"/>
+ line="183">Get the URL from the remote.</doc>
+ <source-position filename="ostree-remote.h" line="57"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-remote.c"
- line="191">the remote's URL</doc>
+ line="189">the remote's URL</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<instance-parameter name="remote" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-remote.c"
- line="187">an #OstreeRemote</doc>
+ line="185">an #OstreeRemote</doc>
<type name="Remote" c:type="OstreeRemote*"/>
</instance-parameter>
</parameters>
<method name="ref" c:identifier="ostree_remote_ref" version="2018.6">
<doc xml:space="preserve"
filename="ostree-remote.c"
- line="115">Increase the reference count on the given @remote.</doc>
- <source-position filename="ostree-remote.h" line="51"/>
+ line="113">Increase the reference count on the given @remote.</doc>
+ <source-position filename="ostree-remote.h" line="49"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-remote.c"
- line="121">a copy of @remote, for convenience</doc>
+ line="119">a copy of @remote, for convenience</doc>
<type name="Remote" c:type="OstreeRemote*"/>
</return-value>
<parameters>
<instance-parameter name="remote" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-remote.c"
- line="117">an #OstreeRemote</doc>
+ line="115">an #OstreeRemote</doc>
<type name="Remote" c:type="OstreeRemote*"/>
</instance-parameter>
</parameters>
<method name="unref" c:identifier="ostree_remote_unref" version="2018.6">
<doc xml:space="preserve"
filename="ostree-remote.c"
- line="134">Decrease the reference count on the given @remote and free it if the
+ line="132">Decrease the reference count on the given @remote and free it if the
reference count reaches 0.</doc>
- <source-position filename="ostree-remote.h" line="53"/>
+ <source-position filename="ostree-remote.h" line="51"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="remote" transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-remote.c"
- line="136">an #OstreeRemote</doc>
+ line="134">an #OstreeRemote</doc>
<type name="Remote" c:type="OstreeRemote*"/>
</instance-parameter>
</parameters>
glib:type-name="OstreeRepo"
glib:get-type="ostree_repo_get_type">
<constructor name="new" c:identifier="ostree_repo_new">
- <source-position filename="ostree-repo.h" line="54"/>
+ <source-position filename="ostree-repo.h" line="52"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1379">An accessor object for an OSTree repository located at @path</doc>
+ line="1406">An accessor object for an OSTree repository located at @path</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
<parameters>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1377">Path to a repository</doc>
+ line="1404">Path to a repository</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
</parameters>
<constructor name="new_default" c:identifier="ostree_repo_new_default">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1452">If the current working directory appears to be an OSTree
+ line="1479">If the current working directory appears to be an OSTree
repository, create a new #OstreeRepo object for accessing it.
Otherwise use the path in the OSTREE_REPO environment variable
(if defined) or else the default system repository located at
/ostree/repo.</doc>
- <source-position filename="ostree-repo.h" line="61"/>
+ <source-position filename="ostree-repo.h" line="59"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1461">An accessor object for an OSTree repository located at /ostree/repo</doc>
+ line="1488">An accessor object for an OSTree repository located at /ostree/repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
</constructor>
c:identifier="ostree_repo_new_for_sysroot_path">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1435">Creates a new #OstreeRepo instance, taking the system root path explicitly
+ line="1462">Creates a new #OstreeRepo instance, taking the system root path explicitly
instead of assuming "/".</doc>
- <source-position filename="ostree-repo.h" line="57"/>
+ <source-position filename="ostree-repo.h" line="55"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1443">An accessor object for the OSTree repository located at @repo_path.</doc>
+ line="1470">An accessor object for the OSTree repository located at @repo_path.</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
<parameters>
<parameter name="repo_path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1437">Path to a repository</doc>
+ line="1464">Path to a repository</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="sysroot_path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1438">Path to the system root</doc>
+ line="1465">Path to the system root</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2860">This is a file-descriptor relative version of ostree_repo_create().
+ line="2896">This is a file-descriptor relative version of ostree_repo_create().
Create the underlying structure on disk for the repository, and call
ostree_repo_open_at() on the result, preparing it for use.
The @options dict may contain:
- collection-id: s: Set as collection ID in repo/config (Since 2017.9)</doc>
- <source-position filename="ostree-repo.h" line="102"/>
+ <source-position filename="ostree-repo.h" line="100"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2882">A new OSTree repository reference</doc>
+ line="2918">A new OSTree repository reference</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
<parameters>
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2862">Directory fd</doc>
+ line="2898">Directory fd</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2863">Path</doc>
+ line="2899">Path</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2864">The mode to store the repository in</doc>
+ line="2900">The mode to store the repository in</doc>
<type name="RepoMode" c:type="OstreeRepoMode"/>
</parameter>
<parameter name="options"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2865">a{sv}: See below for accepted keys</doc>
+ line="2901">a{sv}: See below for accepted keys</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2866">Cancellable</doc>
+ line="2902">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<function name="mode_from_string"
c:identifier="ostree_repo_mode_from_string"
throws="1">
- <source-position filename="ostree-repo.h" line="46"/>
+ <source-position filename="ostree-repo.h" line="44"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2686">a repo mode as a string</doc>
+ line="2720">a repo mode as a string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_mode"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2687">the corresponding #OstreeRepoMode</doc>
+ line="2721">the corresponding #OstreeRepoMode</doc>
<type name="RepoMode" c:type="OstreeRepoMode*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1400">This combines ostree_repo_new() (but using fd-relative access) with
+ line="1427">This combines ostree_repo_new() (but using fd-relative access) with
ostree_repo_open(). Use this when you know you should be operating on an
already extant repository. If you want to create one, use ostree_repo_create_at().</doc>
- <source-position filename="ostree-repo.h" line="70"/>
+ <source-position filename="ostree-repo.h" line="68"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1409">An accessor object for an OSTree repository located at @dfd + @path</doc>
+ line="1436">An accessor object for an OSTree repository located at @dfd + @path</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
<parameters>
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1402">Directory fd</doc>
+ line="1429">Directory fd</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1403">Path</doc>
+ line="1430">Path</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
c:identifier="ostree_repo_pull_default_console_progress_changed">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5046">Convenient "changed" callback for use with
+ line="5121">Convenient "changed" callback for use with
ostree_async_progress_new_and_connect() when pulling from a remote
repository.
Compatibility note: this function previously assumed that @user_data
was a pointer to a #GSConsole instance. This is no longer the case,
and @user_data is ignored.</doc>
- <source-position filename="ostree-repo.h" line="1392"/>
+ <source-position filename="ostree-repo.h" line="1409"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="progress" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5048">Async progress</doc>
+ line="5123">Async progress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5049">User data</doc>
+ line="5124">User data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
version="2018.5">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="297">This hash table is a mapping from #GVariant which can be accessed
+ line="295">This hash table is a mapping from #GVariant which can be accessed
via ostree_object_name_deserialize() to a #GVariant containing either
a similar #GVariant or and array of them, listing the parents of the key.</doc>
- <source-position filename="ostree-repo.h" line="1156"/>
+ <source-position filename="ostree-repo.h" line="1164"/>
<return-value transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="304">A new hash table</doc>
+ line="302">A new hash table</doc>
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="GLib.Variant"/>
<type name="GLib.Variant"/>
c:identifier="ostree_repo_traverse_new_reachable">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="282">This hash table is a set of #GVariant which can be accessed via
+ line="280">This hash table is a set of #GVariant which can be accessed via
ostree_object_name_deserialize().</doc>
- <source-position filename="ostree-repo.h" line="1153"/>
+ <source-position filename="ostree-repo.h" line="1161"/>
<return-value transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="288">A new hash table</doc>
+ line="286">A new hash table</doc>
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="GLib.Variant"/>
<type name="GLib.Variant"/>
version="2018.5">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="348">Gets all the commits that a certain object belongs to, as recorded
+ line="346">Gets all the commits that a certain object belongs to, as recorded
by a parents table gotten from ostree_repo_traverse_commit_union_with_parents.</doc>
- <source-position filename="ostree-repo.h" line="1159"/>
+ <source-position filename="ostree-repo.h" line="1167"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="354">An array of checksums for
+ line="352">An array of checksums for
the commits the key belongs to.</doc>
<array c:type="char**">
<type name="utf8"/>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2359">Abort the active transaction; any staged objects and ref changes will be
+ line="2381">Abort the active transaction; any staged objects and ref changes will be
discarded. You *must* invoke this if you have chosen not to invoke
ostree_repo_commit_transaction(). Calling this function when not in a
transaction will do nothing and return successfully.</doc>
- <source-position filename="ostree-repo.h" line="329"/>
+ <source-position filename="ostree-repo.h" line="327"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2361">An #OstreeRepo</doc>
+ line="2383">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2362">Cancellable</doc>
+ line="2384">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5417">Add a GPG signature to a summary file.</doc>
- <source-position filename="ostree-repo.h" line="1484"/>
+ line="5492">Add a GPG signature to a summary file.</doc>
+ <source-position filename="ostree-repo.h" line="1501"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5419">Self</doc>
+ line="5494">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="key_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5420">NULL-terminated array of GPG keys.</doc>
+ line="5495">NULL-terminated array of GPG keys.</doc>
<array c:type="const gchar**">
<type name="utf8"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5421">GPG home directory, or %NULL</doc>
+ line="5496">GPG home directory, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5422">A #GCancellable</doc>
+ line="5497">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5196">Append a GPG signature to a commit.</doc>
- <source-position filename="ostree-repo.h" line="1491"/>
+ line="5271">Append a GPG signature to a commit.</doc>
+ <source-position filename="ostree-repo.h" line="1508"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5198">Self</doc>
+ line="5273">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5199">SHA256 of given commit to sign</doc>
+ line="5274">SHA256 of given commit to sign</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="signature_bytes" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5200">Signature data</doc>
+ line="5275">Signature data</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5201">A #GCancellable</doc>
+ line="5276">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1329">Similar to ostree_repo_checkout_tree(), but uses directory-relative
+ line="1327">Similar to ostree_repo_checkout_tree(), but uses directory-relative
paths for the destination, uses a new `OstreeRepoCheckoutAtOptions`,
and takes a commit checksum and optional subpath pair, rather than
requiring use of `GFile` APIs for the caller.
Note in addition that unlike ostree_repo_checkout_tree(), the
default is not to use the repository-internal uncompressed objects
cache.</doc>
- <source-position filename="ostree-repo.h" line="1022"/>
+ <source-position filename="ostree-repo.h" line="1020"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1331">Repo</doc>
+ line="1329">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="options"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1332">Options</doc>
+ line="1330">Options</doc>
<type name="RepoCheckoutAtOptions"
c:type="OstreeRepoCheckoutAtOptions*"/>
</parameter>
<parameter name="destination_dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1333">Directory FD for destination</doc>
+ line="1331">Directory FD for destination</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="destination_path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1334">Directory for destination</doc>
+ line="1332">Directory for destination</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="commit" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1335">Checksum for commit</doc>
+ line="1333">Checksum for commit</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1336">Cancellable</doc>
+ line="1334">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1468">Call this after finishing a succession of checkout operations; it
+ line="1466">Call this after finishing a succession of checkout operations; it
will delete any currently-unused uncompressed objects from the
cache.</doc>
- <source-position filename="ostree-repo.h" line="1031"/>
+ <source-position filename="ostree-repo.h" line="1029"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1470">Repo</doc>
+ line="1468">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1471">Cancellable</doc>
+ line="1469">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1247">Check out @source into @destination, which must live on the
+ line="1245">Check out @source into @destination, which must live on the
physical filesystem. @source may be any subdirectory of a given
commit. The @mode and @overwrite_mode allow control over how the
files are checked out.</doc>
- <source-position filename="ostree-repo.h" line="937"/>
+ <source-position filename="ostree-repo.h" line="935"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1249">Repo</doc>
+ line="1247">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1250">Options controlling all files</doc>
+ line="1248">Options controlling all files</doc>
<type name="RepoCheckoutMode" c:type="OstreeRepoCheckoutMode"/>
</parameter>
<parameter name="overwrite_mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1251">Whether or not to overwrite files</doc>
+ line="1249">Whether or not to overwrite files</doc>
<type name="RepoCheckoutOverwriteMode"
c:type="OstreeRepoCheckoutOverwriteMode"/>
</parameter>
<parameter name="destination" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1252">Place tree here</doc>
+ line="1250">Place tree here</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="source" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1253">Source tree</doc>
+ line="1251">Source tree</doc>
<type name="RepoFile" c:type="OstreeRepoFile*"/>
</parameter>
<parameter name="source_info" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1254">Source info</doc>
+ line="1252">Source info</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1255">Cancellable</doc>
+ line="1253">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1286">Similar to ostree_repo_checkout_tree(), but uses directory-relative
+ line="1284">Similar to ostree_repo_checkout_tree(), but uses directory-relative
paths for the destination, uses a new `OstreeRepoCheckoutAtOptions`,
and takes a commit checksum and optional subpath pair, rather than
requiring use of `GFile` APIs for the caller.
cache.
This function is deprecated. Use ostree_repo_checkout_at() instead.</doc>
- <source-position filename="ostree-repo-deprecated.h" line="63"/>
+ <source-position filename="ostree-repo-deprecated.h" line="61"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1288">Repo</doc>
+ line="1286">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="options"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1289">Options</doc>
+ line="1287">Options</doc>
<type name="RepoCheckoutOptions"
c:type="OstreeRepoCheckoutOptions*"/>
</parameter>
<parameter name="destination_dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1290">Directory FD for destination</doc>
+ line="1288">Directory FD for destination</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="destination_path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1291">Directory for destination</doc>
+ line="1289">Directory for destination</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="commit" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1292">Checksum for commit</doc>
+ line="1290">Checksum for commit</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1293">Cancellable</doc>
+ line="1291">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2263">Complete the transaction. Any refs set with
+ line="2281">Complete the transaction. Any refs set with
ostree_repo_transaction_set_ref() or
ostree_repo_transaction_set_refspec() will be written out.
Locking: Releases `shared` lock acquired by `ostree_repo_prepare_transaction()`
Multithreading: This function is *not* MT safe; only one transaction can be
active at a time.</doc>
- <source-position filename="ostree-repo.h" line="323"/>
+ <source-position filename="ostree-repo.h" line="321"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2265">An #OstreeRepo</doc>
+ line="2283">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="out_stats"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2266">A set of statistics of things
+ line="2284">A set of statistics of things
that happened during this transaction.</doc>
<type name="RepoTransactionStats"
c:type="OstreeRepoTransactionStats*"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2268">Cancellable</doc>
+ line="2286">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</method>
<method name="copy_config" c:identifier="ostree_repo_copy_config">
- <source-position filename="ostree-repo.h" line="145"/>
+ <source-position filename="ostree-repo.h" line="143"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1580">A newly-allocated copy of the repository config</doc>
+ line="1610">A newly-allocated copy of the repository config</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</return-value>
<parameters>
<method name="create" c:identifier="ostree_repo_create" throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2812">Create the underlying structure on disk for the repository, and call
+ line="2848">Create the underlying structure on disk for the repository, and call
ostree_repo_open() on the result, preparing it for use.
Since version 2016.8, this function will succeed on an existing
This function predates ostree_repo_create_at(). It is an error to call
this function on a repository initialized via ostree_repo_open_at().</doc>
- <source-position filename="ostree-repo.h" line="97"/>
+ <source-position filename="ostree-repo.h" line="95"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2814">An #OstreeRepo</doc>
+ line="2850">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2815">The mode to store the repository in</doc>
+ line="2851">The mode to store the repository in</doc>
<type name="RepoMode" c:type="OstreeRepoMode"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2816">Cancellable</doc>
+ line="2852">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4490">Remove the object of type @objtype with checksum @sha256
+ line="4565">Remove the object of type @objtype with checksum @sha256
from the repository. An error of type %G_IO_ERROR_NOT_FOUND
is thrown if the object does not exist.</doc>
- <source-position filename="ostree-repo.h" line="639"/>
+ <source-position filename="ostree-repo.h" line="637"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4492">Repo</doc>
+ line="4567">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4493">Object type</doc>
+ line="4568">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4494">Checksum</doc>
+ line="4569">Checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4495">Cancellable</doc>
+ line="4570">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="equal" c:identifier="ostree_repo_equal" version="2017.12">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3760">Check whether two opened repositories are the same on disk: if their root
+ line="3796">Check whether two opened repositories are the same on disk: if their root
directories are the same inode. If @a or @b are not open yet (due to
ostree_repo_open() not being called on them yet), %FALSE will be returned.</doc>
- <source-position filename="ostree-repo.h" line="131"/>
+ <source-position filename="ostree-repo.h" line="129"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3769">%TRUE if @a and @b are the same repository on disk, %FALSE otherwise</doc>
+ line="3805">%TRUE if @a and @b are the same repository on disk, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="a" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3762">an #OstreeRepo</doc>
+ line="3798">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="b" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3763">an #OstreeRepo</doc>
+ line="3799">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1254">Import an archive file @archive into the repository, and write its
+ line="1257">Import an archive file @archive into the repository, and write its
file structure to @mtree.</doc>
- <source-position filename="ostree-repo.h" line="860"/>
+ <source-position filename="ostree-repo.h" line="858"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1256">An #OstreeRepo</doc>
+ line="1259">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="opts" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1257">Options controlling conversion</doc>
+ line="1260">Options controlling conversion</doc>
<type name="RepoExportArchiveOptions"
c:type="OstreeRepoExportArchiveOptions*"/>
</parameter>
<parameter name="root" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1258">An #OstreeRepoFile for the base directory</doc>
+ line="1261">An #OstreeRepoFile for the base directory</doc>
<type name="RepoFile" c:type="OstreeRepoFile*"/>
</parameter>
<parameter name="archive"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1259">A `struct archive`, but specified as void to avoid a dependency on the libarchive headers</doc>
+ line="1262">A `struct archive`, but specified as void to avoid a dependency on the libarchive headers</doc>
<type name="gpointer" c:type="void*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1260">Cancellable</doc>
+ line="1263">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="5426">Find reachable remote URIs which claim to provide any of the given named
+ line="5427">Find reachable remote URIs which claim to provide any of the given named
@refs. This will search for configured remotes (#OstreeRepoFinderConfig),
mounted volumes (#OstreeRepoFinderMount) and (if enabled at compile time)
local network peers (#OstreeRepoFinderAvahi). In order to use a custom
GPG verification of commits will be used unconditionally.
This will use the thread-default #GMainContext, but will not iterate it.</doc>
- <source-position filename="ostree-repo.h" line="1351"/>
+ <source-position filename="ostree-repo.h" line="1368"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="5428">an #OstreeRepo</doc>
+ line="5429">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="refs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="5429">non-empty array of collection–ref pairs to find remotes for</doc>
+ line="5430">non-empty array of collection–ref pairs to find remotes for</doc>
<array c:type="const OstreeCollectionRef* const*">
<type name="CollectionRef" c:type="OstreeCollectionRef*"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="5430">a GVariant `a{sv}` with an extensible set of flags</doc>
+ line="5431">a GVariant `a{sv}` with an extensible set of flags</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="finders" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="5431">non-empty array of
+ line="5432">non-empty array of
#OstreeRepoFinder instances to use, or %NULL to use the system defaults</doc>
<array c:type="OstreeRepoFinder**">
<type name="RepoFinder" c:type="OstreeRepoFinder*"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="5433">an #OstreeAsyncProgress to update with the operation’s
+ line="5434">an #OstreeAsyncProgress to update with the operation’s
progress, or %NULL</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="5435">a #GCancellable, or %NULL</doc>
+ line="5436">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="6">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="5436">asynchronous completion callback</doc>
+ line="5437">asynchronous completion callback</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="5437">data to pass to @callback</doc>
+ line="5438">data to pass to @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6225">Finish an asynchronous pull operation started with
+ line="6226">Finish an asynchronous pull operation started with
ostree_repo_find_remotes_async().</doc>
- <source-position filename="ostree-repo.h" line="1360"/>
+ <source-position filename="ostree-repo.h" line="1377"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6234">a potentially empty array
+ line="6235">a potentially empty array
of #OstreeRepoFinderResults, followed by a %NULL terminator element; or
%NULL on error</doc>
<array c:type="OstreeRepoFinderResult**">
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6227">an #OstreeRepo</doc>
+ line="6228">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6228">the asynchronous result</doc>
+ line="6229">the asynchronous result</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4606">Verify consistency of the object; this performs checks only relevant to the
+ line="4681">Verify consistency of the object; this performs checks only relevant to the
immediate object itself, such as checksumming. This API call will not itself
traverse metadata objects for example.</doc>
- <source-position filename="ostree-repo.h" line="646"/>
+ <source-position filename="ostree-repo.h" line="644"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4608">Repo</doc>
+ line="4683">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4609">Object type</doc>
+ line="4684">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4610">Checksum</doc>
+ line="4685">Checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4611">Cancellable</doc>
+ line="4686">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
version="2019.2">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6600">Get the bootloader configured. See the documentation for the
+ line="6674">Get the bootloader configured. See the documentation for the
"sysroot.bootloader" config key.</doc>
- <source-position filename="ostree-repo.h" line="120"/>
+ <source-position filename="ostree-repo.h" line="118"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6607">bootloader configuration for the sysroot</doc>
+ line="6681">bootloader configuration for the sysroot</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6602">an #OstreeRepo</doc>
+ line="6676">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6528">Get the collection ID of this repository. See [collection IDs][collection-ids].</doc>
- <source-position filename="ostree-repo.h" line="110"/>
+ line="6602">Get the collection ID of this repository. See [collection IDs][collection-ids].</doc>
+ <source-position filename="ostree-repo.h" line="108"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6534">collection ID for the repository</doc>
+ line="6608">collection ID for the repository</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6530">an #OstreeRepo</doc>
+ line="6604">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_config" c:identifier="ostree_repo_get_config">
- <source-position filename="ostree-repo.h" line="142"/>
+ <source-position filename="ostree-repo.h" line="140"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1566">The repository configuration; do not modify</doc>
+ line="1595">The repository configuration; do not modify</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</return-value>
<parameters>
version="2018.9">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6581">Get the set of default repo finders configured. See the documentation for
+ line="6655">Get the set of default repo finders configured. See the documentation for
the "core.default-repo-finders" config key.</doc>
- <source-position filename="ostree-repo.h" line="117"/>
+ <source-position filename="ostree-repo.h" line="115"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6588">
+ line="6662">
%NULL-terminated array of strings.</doc>
<array c:type="const gchar* const*">
<type name="utf8"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6583">an #OstreeRepo</doc>
+ line="6657">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
version="2016.4">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3711">In some cases it's useful for applications to access the repository
+ line="3747">In some cases it's useful for applications to access the repository
directly; for example, writing content into `repo/tmp` ensures it's
on the same filesystem. Another case is detecting the mtime on the
repository (to see whether a ref was written).</doc>
- <source-position filename="ostree-repo.h" line="126"/>
+ <source-position filename="ostree-repo.h" line="124"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3720">File descriptor for repository root - owned by @self</doc>
+ line="3756">File descriptor for repository root - owned by @self</doc>
<type name="gint" c:type="int"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3713">Repo</doc>
+ line="3749">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
c:identifier="ostree_repo_get_disable_fsync">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3658">For more information see ostree_repo_set_disable_fsync().</doc>
- <source-position filename="ostree-repo.h" line="87"/>
+ line="3694">For more information see ostree_repo_set_disable_fsync().</doc>
+ <source-position filename="ostree-repo.h" line="85"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3664">Whether or not fsync() is enabled for this repo.</doc>
+ line="3700">Whether or not fsync() is enabled for this repo.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3660">An #OstreeRepo</doc>
+ line="3696">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3793">Determine the number of bytes of free disk space that are reserved according
+ line="3830">Determine the number of bytes of free disk space that are reserved according
to the repo config and return that number in @out_reserved_bytes. See the
documentation for the core.min-free-space-size and
core.min-free-space-percent repo config options.</doc>
- <source-position filename="ostree-repo.h" line="138"/>
+ <source-position filename="ostree-repo.h" line="136"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3804">%TRUE on success, %FALSE otherwise.</doc>
+ line="3841">%TRUE on success, %FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3795">Repo</doc>
+ line="3832">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="out_reserved_bytes"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3796">Location to store the result</doc>
+ line="3833">Location to store the result</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
</parameters>
</method>
<method name="get_mode" c:identifier="ostree_repo_get_mode">
- <source-position filename="ostree-repo.h" line="135"/>
+ <source-position filename="ostree-repo.h" line="133"/>
<return-value transfer-ownership="none">
<type name="RepoMode" c:type="OstreeRepoMode"/>
</return-value>
<method name="get_parent" c:identifier="ostree_repo_get_parent">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3820">Before this function can be used, ostree_repo_init() must have been
+ line="3857">Before this function can be used, ostree_repo_init() must have been
called.</doc>
- <source-position filename="ostree-repo.h" line="245"/>
+ <source-position filename="ostree-repo.h" line="243"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3827">Parent repository, or %NULL if none</doc>
+ line="3864">Parent repository, or %NULL if none</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3822">Repo</doc>
+ line="3859">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
<method name="get_path" c:identifier="ostree_repo_get_path">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3689">Note that since the introduction of ostree_repo_open_at(), this function may
+ line="3725">Note that since the introduction of ostree_repo_open_at(), this function may
return a process-specific path in `/proc` if the repository was created using
that API. In general, you should avoid use of this API.</doc>
- <source-position filename="ostree-repo.h" line="123"/>
+ <source-position filename="ostree-repo.h" line="121"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3697">Path to repo</doc>
+ line="3733">Path to repo</doc>
<type name="Gio.File" c:type="GFile*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3691">Repo</doc>
+ line="3727">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1075">OSTree remotes are represented by keyfile groups, formatted like:
+ line="1102">OSTree remotes are represented by keyfile groups, formatted like:
`[remote "remotename"]`. This function returns a value named @option_name
underneath that group, and returns it as a boolean.
If the option is not set, @out_value will be set to @default_value. If an
error is returned, @out_value will be set to %FALSE.</doc>
- <source-position filename="ostree-repo.h" line="219"/>
+ <source-position filename="ostree-repo.h" line="217"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1090">%TRUE on success, otherwise %FALSE with @error set</doc>
+ line="1117">%TRUE on success, otherwise %FALSE with @error set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1077">A OstreeRepo</doc>
+ line="1104">A OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1078">Name</doc>
+ line="1105">Name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="option_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1079">Option</doc>
+ line="1106">Option</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="default_value" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1080">Value returned if @option_name is not present</doc>
+ line="1107">Value returned if @option_name is not present</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="out_value"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1081">location to store the result.</doc>
+ line="1108">location to store the result.</doc>
<type name="gboolean" c:type="gboolean*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="997">OSTree remotes are represented by keyfile groups, formatted like:
+ line="1024">OSTree remotes are represented by keyfile groups, formatted like:
`[remote "remotename"]`. This function returns a value named @option_name
underneath that group, and returns it as a zero terminated array of strings.
If the option is not set, or if an error is returned, @out_value will be set
to %NULL.</doc>
- <source-position filename="ostree-repo.h" line="212"/>
+ <source-position filename="ostree-repo.h" line="210"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1013">%TRUE on success, otherwise %FALSE with @error set</doc>
+ line="1040">%TRUE on success, otherwise %FALSE with @error set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="999">A OstreeRepo</doc>
+ line="1026">A OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1000">Name</doc>
+ line="1027">Name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="option_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1001">Option</doc>
+ line="1028">Option</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_value"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1002">location to store the list
+ line="1029">location to store the list
of strings. The list should be freed with
g_strfreev().</doc>
<array c:type="char***">
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="919">OSTree remotes are represented by keyfile groups, formatted like:
+ line="946">OSTree remotes are represented by keyfile groups, formatted like:
`[remote "remotename"]`. This function returns a value named @option_name
underneath that group, or @default_value if the remote exists but not the
option name. If an error is returned, @out_value will be set to %NULL.</doc>
- <source-position filename="ostree-repo.h" line="204"/>
+ <source-position filename="ostree-repo.h" line="202"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="933">%TRUE on success, otherwise %FALSE with @error set</doc>
+ line="960">%TRUE on success, otherwise %FALSE with @error set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="921">A OstreeRepo</doc>
+ line="948">A OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="922">Name</doc>
+ line="949">Name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="option_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="923">Option</doc>
+ line="950">Option</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="default_value"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="924">Value returned if @option_name is not present</doc>
+ line="951">Value returned if @option_name is not present</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_value"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="925">Return location for value</doc>
+ line="952">Return location for value</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5483">Sign the given @data with the specified keys in @key_id. Similar to
+ line="5558">Sign the given @data with the specified keys in @key_id. Similar to
ostree_repo_add_gpg_signature_summary() but can be used on any
data.
You can use ostree_repo_gpg_verify_data() to verify the signatures.</doc>
- <source-position filename="ostree-repo.h" line="1498"/>
+ <source-position filename="ostree-repo.h" line="1515"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5500">@TRUE if @data has been signed successfully,
+ line="5575">@TRUE if @data has been signed successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5485">Self</doc>
+ line="5560">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5486">Data as a #GBytes</doc>
+ line="5561">Data as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="old_signatures" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5487">Existing signatures to append to (or %NULL)</doc>
+ line="5562">Existing signatures to append to (or %NULL)</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="key_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5488">NULL-terminated array of GPG keys.</doc>
+ line="5563">NULL-terminated array of GPG keys.</doc>
<array c:type="const gchar**">
<type name="utf8"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5489">GPG home directory, or %NULL</doc>
+ line="5564">GPG home directory, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="out_signatures"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5490">in case of success will contain signature</doc>
+ line="5565">in case of success will contain signature</doc>
<type name="GLib.Bytes" c:type="GBytes**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5491">A #GCancellable</doc>
+ line="5566">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5914">Verify @signatures for @data using GPG keys in the keyring for
+ line="5989">Verify @signatures for @data using GPG keys in the keyring for
@remote_name, and return an #OstreeGpgVerifyResult.
The @remote_name parameter can be %NULL. In that case it will do
the verifications using GPG keys in the keyrings of all remotes.</doc>
- <source-position filename="ostree-repo.h" line="1524"/>
+ <source-position filename="ostree-repo.h" line="1541"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5931">an #OstreeGpgVerifyResult, or %NULL on error</doc>
+ line="6006">an #OstreeGpgVerifyResult, or %NULL on error</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5916">Repository</doc>
+ line="5991">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5917">Name of remote</doc>
+ line="5992">Name of remote</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5918">Data as a #GBytes</doc>
+ line="5993">Data as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="signatures" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5919">Signatures as a #GBytes</doc>
+ line="5994">Signatures as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="keyringdir"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5920">Path to directory GPG keyrings; overrides built-in default if given</doc>
+ line="5995">Path to directory GPG keyrings; overrides built-in default if given</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="extra_keyring"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5921">Path to additional keyring file (not a directory)</doc>
+ line="5996">Path to additional keyring file (not a directory)</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5922">Cancellable</doc>
+ line="5997">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4448">Set @out_have_object to %TRUE if @self contains the given object;
+ line="4523">Set @out_have_object to %TRUE if @self contains the given object;
%FALSE otherwise.</doc>
- <source-position filename="ostree-repo.h" line="386"/>
+ <source-position filename="ostree-repo.h" line="384"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4460">%FALSE if an unexpected error occurred, %TRUE otherwise</doc>
+ line="4535">%FALSE if an unexpected error occurred, %TRUE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4450">Repo</doc>
+ line="4525">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4451">Object type</doc>
+ line="4526">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4452">ASCII SHA256 checksum</doc>
+ line="4527">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_have_object"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4453">%TRUE if repository contains object</doc>
+ line="4528">%TRUE if repository contains object</doc>
<type name="gboolean" c:type="gboolean*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4454">Cancellable</doc>
+ line="4529">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="hash" c:identifier="ostree_repo_hash" version="2017.12">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3730">Calculate a hash value for the given open repository, suitable for use when
+ line="3766">Calculate a hash value for the given open repository, suitable for use when
putting it into a hash table. It is an error to call this on an #OstreeRepo
which is not yet open, as a persistent hash value cannot be calculated until
the repository is open and the inode of its root directory has been loaded.
This function does no I/O.</doc>
- <source-position filename="ostree-repo.h" line="129"/>
+ <source-position filename="ostree-repo.h" line="127"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3741">hash value for the #OstreeRepo</doc>
+ line="3777">hash value for the #OstreeRepo</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3732">an #OstreeRepo</doc>
+ line="3768">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="840">Import an archive file @archive into the repository, and write its
+ line="843">Import an archive file @archive into the repository, and write its
file structure to @mtree.</doc>
- <source-position filename="ostree-repo.h" line="830"/>
+ <source-position filename="ostree-repo.h" line="828"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="842">An #OstreeRepo</doc>
+ line="845">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="opts" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="843">Options structure, ensure this is zeroed, then set specific variables</doc>
+ line="846">Options structure, ensure this is zeroed, then set specific variables</doc>
<type name="RepoImportArchiveOptions"
c:type="OstreeRepoImportArchiveOptions*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="844">Really this is "struct archive*"</doc>
+ line="847">Really this is "struct archive*"</doc>
<type name="gpointer" c:type="void*"/>
</parameter>
<parameter name="mtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="845">The #OstreeMutableTree to write to</doc>
+ line="848">The #OstreeMutableTree to write to</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</parameter>
<parameter name="modifier"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="846">Optional commit modifier</doc>
+ line="849">Optional commit modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="847">Cancellable</doc>
+ line="850">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4633">Copy object named by @objtype and @checksum into @self from the
+ line="4708">Copy object named by @objtype and @checksum into @self from the
source repository @source. If both repositories are of the same
type and on the same filesystem, this will simply be a fast Unix
hard link operation.
Otherwise, a copy will be performed.</doc>
- <source-position filename="ostree-repo.h" line="623"/>
+ <source-position filename="ostree-repo.h" line="621"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4635">Destination repo</doc>
+ line="4710">Destination repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="source" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4636">Source repo</doc>
+ line="4711">Source repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4637">Object type</doc>
+ line="4712">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4638">checksum</doc>
+ line="4713">checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4639">Cancellable</doc>
+ line="4714">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4662">Copy object named by @objtype and @checksum into @self from the
+ line="4737">Copy object named by @objtype and @checksum into @self from the
source repository @source. If @trusted is %TRUE and both
repositories are of the same type and on the same filesystem,
this will simply be a fast Unix hard link operation.
Otherwise, a copy will be performed.</doc>
- <source-position filename="ostree-repo.h" line="630"/>
+ <source-position filename="ostree-repo.h" line="628"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4664">Destination repo</doc>
+ line="4739">Destination repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="source" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4665">Source repo</doc>
+ line="4740">Source repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4666">Object type</doc>
+ line="4741">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4667">checksum</doc>
+ line="4742">checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="trusted" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4668">If %TRUE, assume the source repo is valid and trusted</doc>
+ line="4743">If %TRUE, assume the source repo is valid and trusted</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4669">Cancellable</doc>
+ line="4744">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</method>
<method name="is_system" c:identifier="ostree_repo_is_system">
- <source-position filename="ostree-repo.h" line="90"/>
+ <source-position filename="ostree-repo.h" line="88"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1490">%TRUE if this repository is the root-owned system global repository</doc>
+ line="1517">%TRUE if this repository is the root-owned system global repository</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1488">Repository</doc>
+ line="1515">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1520">Returns whether the repository is writable by the current user.
+ line="1547">Returns whether the repository is writable by the current user.
If the repository is not writable, the @error indicates why.</doc>
- <source-position filename="ostree-repo.h" line="93"/>
+ <source-position filename="ostree-repo.h" line="91"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1528">%TRUE if this repository is writable</doc>
+ line="1555">%TRUE if this repository is writable</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1522">Repo</doc>
+ line="1549">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="1253">List all local, mirrored, and remote refs, mapping them to the commit
+ line="1250">List all local, mirrored, and remote refs, mapping them to the commit
checksums they currently point to in @out_all_refs. If @match_collection_id
is specified, the results will be limited to those with an equal collection
ID.
%OSTREE_REPO_LIST_REFS_EXT_EXCLUDE_REMOTES in @flags. Similarly use
%OSTREE_REPO_LIST_REFS_EXT_EXCLUDE_MIRRORS to exclude refs from
`refs/mirrors`.</doc>
- <source-position filename="ostree-repo.h" line="1384"/>
+ <source-position filename="ostree-repo.h" line="1401"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="1278">%TRUE on success, %FALSE otherwise</doc>
+ line="1275">%TRUE on success, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="1255">Repo</doc>
+ line="1252">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="match_collection_id"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="1256">If non-%NULL, only list refs from this collection</doc>
+ line="1253">If non-%NULL, only list refs from this collection</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_all_refs"
transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="1257">
+ line="1254">
Mapping from collection–ref to checksum</doc>
<type name="GLib.HashTable" c:type="GHashTable**">
<type name="CollectionRef"/>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="1259">Options controlling listing behavior</doc>
+ line="1256">Options controlling listing behavior</doc>
<type name="RepoListRefsExtFlags"
c:type="OstreeRepoListRefsExtFlags"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="1260">Cancellable</doc>
+ line="1257">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4856">This function synchronously enumerates all commit objects starting
+ line="4931">This function synchronously enumerates all commit objects starting
with @start, returning data in @out_commits.</doc>
- <source-position filename="ostree-repo.h" line="1073"/>
+ <source-position filename="ostree-repo.h" line="1071"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4868">%TRUE on success, %FALSE on error, and @error will be set</doc>
+ line="4943">%TRUE on success, %FALSE on error, and @error will be set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4858">Repo</doc>
+ line="4933">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="start" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4859">List commits starting with this checksum</doc>
+ line="4934">List commits starting with this checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_commits"
transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4860">
+ line="4935">
Map of serialized commit name to variant data</doc>
<type name="GLib.HashTable" c:type="GHashTable**">
<type name="GLib.Variant"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4862">Cancellable</doc>
+ line="4937">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4802">This function synchronously enumerates all objects in the
+ line="4877">This function synchronously enumerates all objects in the
repository, returning data in @out_objects. @out_objects
maps from keys returned by ostree_object_name_serialize()
to #GVariant values of type %OSTREE_REPO_LIST_OBJECTS_VARIANT_TYPE.</doc>
- <source-position filename="ostree-repo.h" line="1066"/>
+ <source-position filename="ostree-repo.h" line="1064"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4816">%TRUE on success, %FALSE on error, and @error will be set</doc>
+ line="4891">%TRUE on success, %FALSE on error, and @error will be set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4804">Repo</doc>
+ line="4879">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4805">Flags controlling enumeration</doc>
+ line="4880">Flags controlling enumeration</doc>
<type name="RepoListObjectsFlags"
c:type="OstreeRepoListObjectsFlags"/>
</parameter>
transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4806">
+ line="4881">
Map of serialized object name to variant data</doc>
<type name="GLib.HashTable" c:type="GHashTable**">
<type name="GLib.Variant"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4808">Cancellable</doc>
+ line="4883">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="list_refs" c:identifier="ostree_repo_list_refs" throws="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="814">If @refspec_prefix is %NULL, list all local and remote refspecs,
+ line="811">If @refspec_prefix is %NULL, list all local and remote refspecs,
with their current values in @out_all_refs. Otherwise, only list
refspecs which have @refspec_prefix as a prefix.
@out_all_refs will be returned as a mapping from refspecs (including the
remote name) to checksums. If @refspec_prefix is non-%NULL, it will be
removed as a prefix from the hash table keys.</doc>
- <source-position filename="ostree-repo.h" line="533"/>
+ <source-position filename="ostree-repo.h" line="531"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="816">Repo</doc>
+ line="813">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="refspec_prefix"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="817">Only list refs which match this prefix</doc>
+ line="814">Only list refs which match this prefix</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_all_refs"
transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="818">
+ line="815">
Mapping from refspec to checksum</doc>
<type name="GLib.HashTable" c:type="GHashTable**">
<type name="utf8"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="820">Cancellable</doc>
+ line="817">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="844">If @refspec_prefix is %NULL, list all local and remote refspecs,
+ line="841">If @refspec_prefix is %NULL, list all local and remote refspecs,
with their current values in @out_all_refs. Otherwise, only list
refspecs which have @refspec_prefix as a prefix.
@out_all_refs will be returned as a mapping from refspecs (including the
remote name) to checksums. Differently from ostree_repo_list_refs(), the
@refspec_prefix will not be removed from the refspecs in the hash table.</doc>
- <source-position filename="ostree-repo.h" line="554"/>
+ <source-position filename="ostree-repo.h" line="552"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="846">Repo</doc>
+ line="843">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="refspec_prefix"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="847">Only list refs which match this prefix</doc>
+ line="844">Only list refs which match this prefix</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_all_refs"
transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="848">
+ line="845">
Mapping from refspec to checksum</doc>
<type name="GLib.HashTable" c:type="GHashTable**">
<type name="utf8"/>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="850">Options controlling listing behavior</doc>
+ line="847">Options controlling listing behavior</doc>
<type name="RepoListRefsExtFlags"
c:type="OstreeRepoListRefsExtFlags"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="851">Cancellable</doc>
+ line="848">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="171">This function synchronously enumerates all static delta indexes in the
+ line="169">This function synchronously enumerates all static delta indexes in the
repository, returning its result in @out_indexes.</doc>
- <source-position filename="ostree-repo.h" line="1086"/>
+ <source-position filename="ostree-repo.h" line="1084"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="173">Repo</doc>
+ line="171">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="out_indexes"
transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="174">String name of delta indexes (checksum)</doc>
+ line="172">String name of delta indexes (checksum)</doc>
<array name="GLib.PtrArray" c:type="GPtrArray**">
<type name="utf8"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="175">Cancellable</doc>
+ line="173">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="80">This function synchronously enumerates all static deltas in the
+ line="78">This function synchronously enumerates all static deltas in the
repository, returning its result in @out_deltas.</doc>
- <source-position filename="ostree-repo.h" line="1080"/>
+ <source-position filename="ostree-repo.h" line="1078"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="82">Repo</doc>
+ line="80">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="out_deltas"
transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="83">String name of deltas (checksum-checksum.delta)</doc>
+ line="81">String name of deltas (checksum-checksum.delta)</doc>
<array name="GLib.PtrArray" c:type="GPtrArray**">
<type name="utf8"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="84">Cancellable</doc>
+ line="82">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4778">A version of ostree_repo_load_variant() specialized to commits,
+ line="4853">A version of ostree_repo_load_variant() specialized to commits,
capable of returning extended state information. Currently
the only extended state is %OSTREE_REPO_COMMIT_STATE_PARTIAL, which
means that only a sub-path of the commit is available.</doc>
- <source-position filename="ostree-repo.h" line="590"/>
+ <source-position filename="ostree-repo.h" line="588"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4780">Repo</doc>
+ line="4855">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4781">Commit checksum</doc>
+ line="4856">Commit checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_commit"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4782">Commit</doc>
+ line="4857">Commit</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="out_state"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4783">Commit state</doc>
+ line="4858">Commit state</doc>
<type name="RepoCommitState" c:type="OstreeRepoCommitState*"/>
</parameter>
</parameters>
<method name="load_file" c:identifier="ostree_repo_load_file" throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4287">Load content object, decomposing it into three parts: the actual
+ line="4362">Load content object, decomposing it into three parts: the actual
content (for regular files), the metadata, and extended attributes.</doc>
- <source-position filename="ostree-repo.h" line="597"/>
+ <source-position filename="ostree-repo.h" line="595"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4289">Repo</doc>
+ line="4364">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4290">ASCII SHA256 checksum</doc>
+ line="4365">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_input"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4291">File content</doc>
+ line="4366">File content</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_file_info"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4292">File information</doc>
+ line="4367">File information</doc>
<type name="Gio.FileInfo" c:type="GFileInfo**"/>
</parameter>
<parameter name="out_xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4293">Extended attributes</doc>
+ line="4368">Extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4294">Cancellable</doc>
+ line="4369">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4348">Load object as a stream; useful when copying objects between
+ line="4423">Load object as a stream; useful when copying objects between
repositories.</doc>
- <source-position filename="ostree-repo.h" line="606"/>
+ <source-position filename="ostree-repo.h" line="604"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4350">Repo</doc>
+ line="4425">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4351">Object type</doc>
+ line="4426">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4352">ASCII SHA256 checksum</doc>
+ line="4427">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4353">Stream for object</doc>
+ line="4428">Stream for object</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_size"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4354">Length of @out_input</doc>
+ line="4429">Length of @out_input</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4355">Cancellable</doc>
+ line="4430">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4756">Load the metadata object @sha256 of type @objtype, storing the
+ line="4831">Load the metadata object @sha256 of type @objtype, storing the
result in @out_variant.</doc>
- <source-position filename="ostree-repo.h" line="576"/>
+ <source-position filename="ostree-repo.h" line="574"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4758">Repo</doc>
+ line="4833">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4759">Expected object type</doc>
+ line="4834">Expected object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4760">Checksum string</doc>
+ line="4835">Checksum string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_variant"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4761">Metadata object</doc>
+ line="4836">Metadata object</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4732">Attempt to load the metadata object @sha256 of type @objtype if it
+ line="4807">Attempt to load the metadata object @sha256 of type @objtype if it
exists, storing the result in @out_variant. If it doesn't exist,
@out_variant will be set to %NULL and the function will still
return TRUE.</doc>
- <source-position filename="ostree-repo.h" line="583"/>
+ <source-position filename="ostree-repo.h" line="581"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4734">Repo</doc>
+ line="4809">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4735">Object type</doc>
+ line="4810">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4736">ASCII checksum</doc>
+ line="4811">ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_variant"
nullable="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4737">Metadata</doc>
+ line="4812">Metadata</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="551">Release a lock of type @lock_type from the lock state. If the lock state
+ line="549">Release a lock of type @lock_type from the lock state. If the lock state
becomes empty, the repository is unlocked. Otherwise, the lock state only
changes when transitioning from an exclusive lock back to a shared lock. The
requested @lock_type must be the same type that was requested in the call to
If @self is not writable by the user, then no unlocking is attempted and
%TRUE is returned.</doc>
- <source-position filename="ostree-repo.h" line="1591"/>
+ <source-position filename="ostree-repo.h" line="1608"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="575">%TRUE on success, otherwise %FALSE with @error set</doc>
+ line="573">%TRUE on success, otherwise %FALSE with @error set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="553">a #OstreeRepo</doc>
+ line="551">a #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="lock_type" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="554">the type of lock to release</doc>
+ line="552">the type of lock to release</doc>
<type name="RepoLockType" c:type="OstreeRepoLockType"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="555">a #GCancellable</doc>
+ line="553">a #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="456">Takes a lock on the repository and adds it to the lock state. If @lock_type
+ line="454">Takes a lock on the repository and adds it to the lock state. If @lock_type
is %OSTREE_REPO_LOCK_SHARED, a shared lock is taken. If @lock_type is
%OSTREE_REPO_LOCK_EXCLUSIVE, an exclusive lock is taken. The actual lock
state is only changed when locking a previously unlocked repository or
If @self is not writable by the user, then no locking is attempted and
%TRUE is returned.</doc>
- <source-position filename="ostree-repo.h" line="1586"/>
+ <source-position filename="ostree-repo.h" line="1603"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="481">%TRUE on success, otherwise %FALSE with @error set</doc>
+ line="479">%TRUE on success, otherwise %FALSE with @error set</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="458">a #OstreeRepo</doc>
+ line="456">a #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="lock_type" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="459">the type of lock to acquire</doc>
+ line="457">the type of lock to acquire</doc>
<type name="RepoLockType" c:type="OstreeRepoLockType"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="460">a #GCancellable</doc>
+ line="458">a #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2037">Commits in the "partial" state do not have all their child objects
+ line="2045">Commits in the "partial" state do not have all their child objects
written. This occurs in various situations, such as during a pull,
but also if a "subpath" pull is used, as well as "commit only"
pulls.
This function is used by ostree_repo_pull_with_options(); you
should use this if you are implementing a different type of transport.</doc>
- <source-position filename="ostree-repo.h" line="334"/>
+ <source-position filename="ostree-repo.h" line="332"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2039">Repo</doc>
+ line="2047">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2040">Commit SHA-256</doc>
+ line="2048">Commit SHA-256</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="is_partial" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2041">Whether or not this commit is partial</doc>
+ line="2049">Whether or not this commit is partial</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1986">Allows the setting of a reason code for a partial commit. Presently
+ line="1994">Allows the setting of a reason code for a partial commit. Presently
it only supports setting reason bitmask to
OSTREE_REPO_COMMIT_STATE_FSCK_PARTIAL, or
OSTREE_REPO_COMMIT_STATE_NORMAL. This will allow successive ostree
fsck operations to exit properly with an error code if the
repository has been truncated as a result of fsck trying to repair
it.</doc>
- <source-position filename="ostree-repo.h" line="340"/>
+ <source-position filename="ostree-repo.h" line="338"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1988">Repo</doc>
+ line="1996">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1989">Commit SHA-256</doc>
+ line="1997">Commit SHA-256</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="is_partial" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1990">Whether or not this commit is partial</doc>
+ line="1998">Whether or not this commit is partial</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="in_state" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1991">Reason bitmask for partial commit</doc>
+ line="1999">Reason bitmask for partial commit</doc>
<type name="RepoCommitState" c:type="OstreeRepoCommitState"/>
</parameter>
</parameters>
</method>
<method name="open" c:identifier="ostree_repo_open" throws="1">
- <source-position filename="ostree-repo.h" line="64"/>
+ <source-position filename="ostree-repo.h" line="62"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1642">Starts or resumes a transaction. In order to write to a repo, you
+ line="1649">Starts or resumes a transaction. In order to write to a repo, you
need to start a transaction. You can complete the transaction with
ostree_repo_commit_transaction(), or abort the transaction with
ostree_repo_abort_transaction().
Locking: Acquires a `shared` lock; release via commit or abort
Multithreading: This function is *not* MT safe; only one transaction can be
active at a time.</doc>
- <source-position filename="ostree-repo.h" line="317"/>
+ <source-position filename="ostree-repo.h" line="315"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1644">An #OstreeRepo</doc>
+ line="1651">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="out_transaction_resume"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1645">Whether this transaction
+ line="1652">Whether this transaction
is resuming from a previous one. This is a legacy state, now OSTree
pulls use per-commit `state/.commitpartial` files.</doc>
<type name="gboolean" c:type="gboolean*"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1648">Cancellable</doc>
+ line="1655">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="prune" c:identifier="ostree_repo_prune" throws="1">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="365">Delete content from the repository. By default, this function will
+ line="382">Delete content from the repository. By default, this function will
only delete "orphaned" objects not referred to by any commit. This
can happen during a local commit operation, when we have written
content objects but not saved the commit referencing them.
deleting them.
Locking: exclusive</doc>
- <source-position filename="ostree-repo.h" line="1264"/>
+ <source-position filename="ostree-repo.h" line="1281"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="367">Repo</doc>
+ line="384">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="368">Options controlling prune process</doc>
+ line="385">Options controlling prune process</doc>
<type name="RepoPruneFlags" c:type="OstreeRepoPruneFlags"/>
</parameter>
<parameter name="depth" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="369">Stop traversal after this many iterations (-1 for unlimited)</doc>
+ line="386">Stop traversal after this many iterations (-1 for unlimited)</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="out_objects_total"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="370">Number of objects found</doc>
+ line="387">Number of objects found</doc>
<type name="gint" c:type="gint*"/>
</parameter>
<parameter name="out_objects_pruned"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="371">Number of objects deleted</doc>
+ line="388">Number of objects deleted</doc>
<type name="gint" c:type="gint*"/>
</parameter>
<parameter name="out_pruned_object_size_total"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="372">Storage size in bytes of objects deleted</doc>
+ line="389">Storage size in bytes of objects deleted</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="373">Cancellable</doc>
+ line="390">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="453">Delete content from the repository. This function is the "backend"
+ line="477">Delete content from the repository. This function is the "backend"
half of the higher level ostree_repo_prune(). To use this function,
you determine the root set yourself, and this function finds all other
unreferenced objects and deletes them.
statistics on objects that would be deleted, without actually deleting them.
Locking: exclusive</doc>
- <source-position filename="ostree-repo.h" line="1296"/>
+ <source-position filename="ostree-repo.h" line="1313"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="455">Repo</doc>
+ line="479">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="options" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="456">Options controlling prune process</doc>
+ line="480">Options controlling prune process</doc>
<type name="RepoPruneOptions" c:type="OstreeRepoPruneOptions*"/>
</parameter>
<parameter name="out_objects_total"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="457">Number of objects found</doc>
+ line="481">Number of objects found</doc>
<type name="gint" c:type="gint*"/>
</parameter>
<parameter name="out_objects_pruned"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="458">Number of objects deleted</doc>
+ line="482">Number of objects deleted</doc>
<type name="gint" c:type="gint*"/>
</parameter>
<parameter name="out_pruned_object_size_total"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="459">Storage size in bytes of objects deleted</doc>
+ line="483">Storage size in bytes of objects deleted</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="460">Cancellable</doc>
+ line="484">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="187">Prune static deltas, if COMMIT is specified then delete static delta files only
+ line="193">Prune static deltas, if COMMIT is specified then delete static delta files only
targeting that commit; otherwise any static delta of non existing commits are
deleted.
Locking: exclusive</doc>
- <source-position filename="ostree-repo.h" line="1259"/>
+ <source-position filename="ostree-repo.h" line="1276"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="189">Repo</doc>
+ line="195">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="190">ASCII SHA256 checksum for commit, or %NULL for each
+ line="196">ASCII SHA256 checksum for commit, or %NULL for each
non existing commit</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="192">Cancellable</doc>
+ line="198">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="pull" c:identifier="ostree_repo_pull" throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4934">Connect to the remote repository, fetching the specified set of
+ line="5009">Connect to the remote repository, fetching the specified set of
refs @refs_to_fetch. For each ref that is changed, download the
commit, all metadata, and all content objects, storing them safely
on disk in @self.
which is a bug, but kept for compatibility reasons. If you want to
avoid this, use g_main_context_push_thread_default() to push a new
one around this call.</doc>
- <source-position filename="ostree-repo.h" line="1323"/>
+ <source-position filename="ostree-repo.h" line="1340"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4936">Repo</doc>
+ line="5011">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4937">Name of remote</doc>
+ line="5012">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="refs_to_fetch"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4938">Optional list of refs; if %NULL, fetch all configured refs</doc>
+ line="5013">Optional list of refs; if %NULL, fetch all configured refs</doc>
<array c:type="char**">
<type name="utf8"/>
</array>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4939">Options controlling fetch behavior</doc>
+ line="5014">Options controlling fetch behavior</doc>
<type name="RepoPullFlags" c:type="OstreeRepoPullFlags"/>
</parameter>
<parameter name="progress"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4940">Progress</doc>
+ line="5015">Progress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4941">Cancellable</doc>
+ line="5016">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6273">Pull refs from multiple remotes which have been found using
+ line="6274">Pull refs from multiple remotes which have been found using
ostree_repo_find_remotes_async().
@results are expected to be in priority order, with the best remotes to pull
not being pulled will be ignored and any ref without a keyring remote
will be verified with the keyring of the remote being pulled from.
Since: 2019.2</doc>
- <source-position filename="ostree-repo.h" line="1365"/>
+ <source-position filename="ostree-repo.h" line="1382"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6275">an #OstreeRepo</doc>
+ line="6276">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="results" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6276">%NULL-terminated array of remotes to
+ line="6277">%NULL-terminated array of remotes to
pull from, including the refs to pull from each</doc>
<array c:type="const OstreeRepoFinderResult* const*">
<type name="RepoFinderResult" c:type="OstreeRepoFinderResult*"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6278">A GVariant `a{sv}` with an extensible set of flags</doc>
+ line="6279">A GVariant `a{sv}` with an extensible set of flags</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="progress"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6279">an #OstreeAsyncProgress to update with the operation’s
+ line="6280">an #OstreeAsyncProgress to update with the operation’s
progress, or %NULL</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6281">a #GCancellable, or %NULL</doc>
+ line="6282">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="5">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6282">asynchronous completion callback</doc>
+ line="6283">asynchronous completion callback</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6283">data to pass to @callback</doc>
+ line="6284">data to pass to @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6526">Finish an asynchronous pull operation started with
+ line="6527">Finish an asynchronous pull operation started with
ostree_repo_pull_from_remotes_async().</doc>
- <source-position filename="ostree-repo.h" line="1373"/>
+ <source-position filename="ostree-repo.h" line="1390"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6535">%TRUE on success, %FALSE otherwise</doc>
+ line="6536">%TRUE on success, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6528">an #OstreeRepo</doc>
+ line="6529">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6529">the asynchronous result</doc>
+ line="6530">the asynchronous result</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4973">This is similar to ostree_repo_pull(), but only fetches a single
+ line="5048">This is similar to ostree_repo_pull(), but only fetches a single
subpath.</doc>
- <source-position filename="ostree-repo.h" line="1333"/>
+ <source-position filename="ostree-repo.h" line="1350"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4975">Repo</doc>
+ line="5050">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4976">Name of remote</doc>
+ line="5051">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="dir_to_pull" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4977">Subdirectory path</doc>
+ line="5052">Subdirectory path</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="refs_to_fetch"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4978">Optional list of refs; if %NULL, fetch all configured refs</doc>
+ line="5053">Optional list of refs; if %NULL, fetch all configured refs</doc>
<array c:type="char**">
<type name="utf8"/>
</array>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4979">Options controlling fetch behavior</doc>
+ line="5054">Options controlling fetch behavior</doc>
<type name="RepoPullFlags" c:type="OstreeRepoPullFlags"/>
</parameter>
<parameter name="progress"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4980">Progress</doc>
+ line="5055">Progress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4981">Cancellable</doc>
+ line="5056">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="3650">Like ostree_repo_pull(), but supports an extensible set of flags.
+ line="3651">Like ostree_repo_pull(), but supports an extensible set of flags.
The following are currently defined:
* `refs` (`as`): Array of string refs
is specified, `summary-bytes` must also be specified. Since: 2020.5
* `disable-verify-bindings` (`b`): Disable verification of commit bindings.
Since: 2020.9</doc>
- <source-position filename="ostree-repo.h" line="1343"/>
+ <source-position filename="ostree-repo.h" line="1360"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="3652">Repo</doc>
+ line="3653">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name_or_baseurl" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="3653">Name of remote or file:// url</doc>
+ line="3654">Name of remote or file:// url</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="options" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="3654">A GVariant a{sv} with an extensible set of flags.</doc>
+ line="3655">A GVariant a{sv} with an extensible set of flags.</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="progress"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="3655">Progress</doc>
+ line="3656">Progress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="3656">Cancellable</doc>
+ line="3657">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4696">Return the size in bytes of object with checksum @sha256, after any
+ line="4771">Return the size in bytes of object with checksum @sha256, after any
compression has been applied.</doc>
- <source-position filename="ostree-repo.h" line="615"/>
+ <source-position filename="ostree-repo.h" line="613"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4698">Repo</doc>
+ line="4773">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4699">Object type</doc>
+ line="4774">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4700">Checksum</doc>
+ line="4775">Checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_size"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4701">Size in bytes object occupies physically</doc>
+ line="4776">Size in bytes object occupies physically</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4702">Cancellable</doc>
+ line="4777">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4899">Load the content for @rev into @out_root.</doc>
- <source-position filename="ostree-repo.h" line="1036"/>
+ line="4974">Load the content for @rev into @out_root.</doc>
+ <source-position filename="ostree-repo.h" line="1034"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4901">Repo</doc>
+ line="4976">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4902">Ref or ASCII checksum</doc>
+ line="4977">Ref or ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_root"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4903">An #OstreeRepoFile corresponding to the root</doc>
+ line="4978">An #OstreeRepoFile corresponding to the root</doc>
<type name="Gio.File" c:type="GFile**"/>
</parameter>
<parameter name="out_commit"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4904">The resolved commit checksum</doc>
+ line="4979">The resolved commit checksum</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="4905">Cancellable</doc>
+ line="4980">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3120">OSTree commits can have arbitrary metadata associated; this
+ line="3141">OSTree commits can have arbitrary metadata associated; this
function retrieves them. If none exists, @out_metadata will be set
to %NULL.</doc>
- <source-position filename="ostree-repo.h" line="898"/>
+ <source-position filename="ostree-repo.h" line="896"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3122">Repo</doc>
+ line="3143">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3123">ASCII SHA256 commit checksum</doc>
+ line="3144">ASCII SHA256 commit checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_metadata"
nullable="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3124">Metadata associated with commit in with format "a{sv}", or %NULL if none exists</doc>
+ line="3145">Metadata associated with commit in with format "a{sv}", or %NULL if none exists</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3125">Cancellable</doc>
+ line="3146">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6055">An OSTree repository can contain a high level "summary" file that
+ line="6135">An OSTree repository can contain a high level "summary" file that
describes the available branches and other metadata.
If the timetable for making commits and updating the summary file is fairly
and refs in %OSTREE_SUMMARY_COLLECTION_MAP are guaranteed to be in
lexicographic order.
-Locking: exclusive</doc>
- <source-position filename="ostree-repo.h" line="1565"/>
+Locking: shared (Prior to 2021.7, this was exclusive)</doc>
+ <source-position filename="ostree-repo.h" line="1582"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6057">Repo</doc>
+ line="6137">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="additional_metadata"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6058">A GVariant of type a{sv}, or %NULL</doc>
+ line="6138">A GVariant of type a{sv}, or %NULL</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6059">Cancellable</doc>
+ line="6139">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3465">By default, an #OstreeRepo will cache the remote configuration and its
+ line="3501">By default, an #OstreeRepo will cache the remote configuration and its
own repo/config data. This API can be used to reload it.</doc>
- <source-position filename="ostree-repo.h" line="148"/>
+ <source-position filename="ostree-repo.h" line="146"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3467">repo</doc>
+ line="3503">repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3468">cancellable</doc>
+ line="3504">cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1789">Create a new remote named @name pointing to @url. If @options is
+ line="1820">Create a new remote named @name pointing to @url. If @options is
provided, then it will be mapped to #GKeyFile entries, where the
GVariant dictionary key is an option string, and the value is
mapped as follows:
* s: g_key_file_set_string()
* b: g_key_file_set_boolean()
* as: g_key_file_set_string_list()</doc>
- <source-position filename="ostree-repo.h" line="153"/>
+ <source-position filename="ostree-repo.h" line="151"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1791">Repo</doc>
+ line="1822">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1792">Name of remote</doc>
+ line="1823">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="url"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1793">URL for remote (if URL begins with metalink=, it will be used as such)</doc>
+ line="1824">URL for remote (if URL begins with metalink=, it will be used as such)</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="options"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1794">GVariant of type a{sv}</doc>
+ line="1825">GVariant of type a{sv}</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1795">Cancellable</doc>
+ line="1826">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1979">A combined function handling the equivalent of
+ line="2010">A combined function handling the equivalent of
ostree_repo_remote_add(), ostree_repo_remote_delete(), with more
options.</doc>
- <source-position filename="ostree-repo.h" line="184"/>
+ <source-position filename="ostree-repo.h" line="182"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1981">Repo</doc>
+ line="2012">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="sysroot"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1982">System root</doc>
+ line="2013">System root</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="changeop" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1983">Operation to perform</doc>
+ line="2014">Operation to perform</doc>
<type name="RepoRemoteChange" c:type="OstreeRepoRemoteChange"/>
</parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1984">Name of remote</doc>
+ line="2015">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="url"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1985">URL for remote (if URL begins with metalink=, it will be used as such)</doc>
+ line="2016">URL for remote (if URL begins with metalink=, it will be used as such)</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="options"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1986">GVariant of type a{sv}</doc>
+ line="2017">GVariant of type a{sv}</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1987">Cancellable</doc>
+ line="2018">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1875">Delete the remote named @name. It is an error if the provided
+ line="1906">Delete the remote named @name. It is an error if the provided
remote does not exist.</doc>
- <source-position filename="ostree-repo.h" line="161"/>
+ <source-position filename="ostree-repo.h" line="159"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1877">Repo</doc>
+ line="1908">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1878">Name of remote</doc>
+ line="1909">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1879">Cancellable</doc>
+ line="1910">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2610">Tries to fetch the summary file and any GPG signatures on the summary file
+ line="2641">Tries to fetch the summary file and any GPG signatures on the summary file
over HTTP, and returns the binary data in @out_summary and @out_signatures
respectively.
Parse the summary data into a #GVariant using g_variant_new_from_bytes()
with #OSTREE_SUMMARY_GVARIANT_FORMAT as the format string.</doc>
- <source-position filename="ostree-repo.h" line="228"/>
+ <source-position filename="ostree-repo.h" line="226"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2635">%TRUE on success, %FALSE on failure</doc>
+ line="2666">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2612">Self</doc>
+ line="2643">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2613">name of a remote</doc>
+ line="2644">name of a remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_summary"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2614">return location for raw summary data, or
+ line="2645">return location for raw summary data, or
%NULL</doc>
<type name="GLib.Bytes" c:type="GBytes**"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2616">return location for raw summary
+ line="2647">return location for raw summary
signature data, or %NULL</doc>
<type name="GLib.Bytes" c:type="GBytes**"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2618">a #GCancellable</doc>
+ line="2649">a #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6551">Like ostree_repo_remote_fetch_summary(), but supports an extensible set of flags.
+ line="6552">Like ostree_repo_remote_fetch_summary(), but supports an extensible set of flags.
The following are currently defined:
- override-url (s): Fetch summary from this URL if remote specifies no metalink in options
- n-network-retries (u): Number of times to retry each download on receiving
a transient network error, such as a socket timeout; default is 5, 0
means return errors without retrying</doc>
- <source-position filename="ostree-repo.h" line="236"/>
+ <source-position filename="ostree-repo.h" line="234"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6573">%TRUE on success, %FALSE on failure</doc>
+ line="6574">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6553">Self</doc>
+ line="6554">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6554">name of a remote</doc>
+ line="6555">name of a remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="options"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6555">A GVariant a{sv} with an extensible set of flags</doc>
+ line="6556">A GVariant a{sv} with an extensible set of flags</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_summary"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6556">return location for raw summary data, or
+ line="6557">return location for raw summary data, or
%NULL</doc>
<type name="GLib.Bytes" c:type="GBytes**"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6558">return location for raw summary
+ line="6559">return location for raw summary
signature data, or %NULL</doc>
<type name="GLib.Bytes" c:type="GBytes**"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="6560">a #GCancellable</doc>
+ line="6561">a #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2482">Enumerate the trusted GPG keys for the remote @name. If @name is
+ line="2513">Enumerate the trusted GPG keys for the remote @name. If @name is
%NULL, the global GPG keys will be returned. The keys will be
returned in the @out_keys #GPtrArray. Each element in the array is a
#GVariant of format %OSTREE_GPG_KEY_GVARIANT_FORMAT. The @key_ids
array can be used to limit which keys are included. If @key_ids is
%NULL, then all keys are included.</doc>
- <source-position filename="ostree-repo.h" line="1467"/>
+ <source-position filename="ostree-repo.h" line="1484"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2501">%TRUE if the GPG keys could be enumerated, %FALSE otherwise</doc>
+ line="2532">%TRUE if the GPG keys could be enumerated, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2484">an #OstreeRepo</doc>
+ line="2515">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2485">name of the remote or %NULL</doc>
+ line="2516">name of the remote or %NULL</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="key_ids"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2486">
+ line="2517">
a %NULL-terminated array of GPG key IDs to include, or %NULL</doc>
<array c:type="const char* const*">
<type name="utf8"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2488">
+ line="2519">
return location for a #GPtrArray of the remote's trusted GPG keys, or
%NULL</doc>
<array name="GLib.PtrArray" c:type="GPtrArray**">
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2491">a #GCancellable, or %NULL</doc>
+ line="2522">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2140">Return whether GPG verification is enabled for the remote named @name
+ line="2171">Return whether GPG verification is enabled for the remote named @name
through @out_gpg_verify. It is an error if the provided remote does
not exist.</doc>
- <source-position filename="ostree-repo.h" line="1422"/>
+ <source-position filename="ostree-repo.h" line="1439"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2151">%TRUE on success, %FALSE on failure</doc>
+ line="2182">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2142">Repo</doc>
+ line="2173">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2143">Name of remote</doc>
+ line="2174">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_gpg_verify"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2144">Remote's GPG option</doc>
+ line="2175">Remote's GPG option</doc>
<type name="gboolean" c:type="gboolean*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2174">Return whether GPG verification of the summary is enabled for the remote
+ line="2205">Return whether GPG verification of the summary is enabled for the remote
named @name through @out_gpg_verify_summary. It is an error if the provided
remote does not exist.</doc>
- <source-position filename="ostree-repo.h" line="1428"/>
+ <source-position filename="ostree-repo.h" line="1445"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2185">%TRUE on success, %FALSE on failure</doc>
+ line="2216">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2176">Repo</doc>
+ line="2207">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2177">Name of remote</doc>
+ line="2208">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_gpg_verify_summary"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2178">Remote's GPG option</doc>
+ line="2209">Remote's GPG option</doc>
<type name="gboolean" c:type="gboolean*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2097">Return the URL of the remote named @name through @out_url. It is an
+ line="2128">Return the URL of the remote named @name through @out_url. It is an
error if the provided remote does not exist.</doc>
- <source-position filename="ostree-repo.h" line="198"/>
+ <source-position filename="ostree-repo.h" line="196"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2107">%TRUE on success, %FALSE on failure</doc>
+ line="2138">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2099">Repo</doc>
+ line="2130">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2100">Name of remote</doc>
+ line="2131">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_url"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2101">Remote's URL</doc>
+ line="2132">Remote's URL</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2197">Imports one or more GPG keys from the open @source_stream, or from the
+ line="2228">Imports one or more GPG keys from the open @source_stream, or from the
user's personal keyring if @source_stream is %NULL. The @key_ids array
can optionally restrict which keys are imported. If @key_ids is %NULL,
then all keys are imported.
The imported keys will be used to conduct GPG verification when pulling
from the remote named @name.</doc>
- <source-position filename="ostree-repo.h" line="1475"/>
+ <source-position filename="ostree-repo.h" line="1492"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2216">%TRUE on success, %FALSE on failure</doc>
+ line="2247">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2199">Self</doc>
+ line="2230">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2200">name of a remote</doc>
+ line="2231">name of a remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="source_stream"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2201">a #GInputStream, or %NULL</doc>
+ line="2232">a #GInputStream, or %NULL</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="key_ids"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2202">a %NULL-terminated array of GPG key IDs, or %NULL</doc>
+ line="2233">a %NULL-terminated array of GPG key IDs, or %NULL</doc>
<array c:type="const char* const*">
<type name="utf8"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2203">return location for the number of imported
+ line="2234">return location for the number of imported
keys, or %NULL</doc>
<type name="guint" c:type="guint*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2205">a #GCancellable</doc>
+ line="2236">a #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="remote_list" c:identifier="ostree_repo_remote_list">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2046">List available remote names in an #OstreeRepo. Remote names are sorted
+ line="2077">List available remote names in an #OstreeRepo. Remote names are sorted
alphabetically. If no remotes are available the function returns %NULL.</doc>
- <source-position filename="ostree-repo.h" line="194"/>
+ <source-position filename="ostree-repo.h" line="192"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2054">a %NULL-terminated
+ line="2085">a %NULL-terminated
array of remote names</doc>
<array length="0" zero-terminated="0" c:type="char**">
<type name="utf8"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2048">Repo</doc>
+ line="2079">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="out_n_remotes"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="2049">Number of remotes available</doc>
+ line="2080">Number of remotes available</doc>
<type name="guint" c:type="guint*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="992">List refs advertised by @remote_name, including refs which are part of
+ line="989">List refs advertised by @remote_name, including refs which are part of
collections. If the repository at @remote_name has a collection ID set, its
refs will be returned with that collection ID; otherwise, they will be returned
with a %NULL collection ID in each #OstreeCollectionRef key in @out_all_refs.
Any refs for other collections stored in the repository will also be returned.
No filtering is performed.</doc>
- <source-position filename="ostree-repo.h" line="569"/>
+ <source-position filename="ostree-repo.h" line="567"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="994">Repo</doc>
+ line="991">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="995">Name of the remote.</doc>
+ line="992">Name of the remote.</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_all_refs"
transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="996">
+ line="993">
Mapping from collection–ref to checksum</doc>
<type name="GLib.HashTable" c:type="GHashTable**">
<type name="CollectionRef"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="998">Cancellable</doc>
+ line="995">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="remote_list_refs"
c:identifier="ostree_repo_remote_list_refs"
throws="1">
- <source-position filename="ostree-repo.h" line="562"/>
+ <source-position filename="ostree-repo.h" line="560"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="879">Repo</doc>
+ line="876">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="880">Name of the remote.</doc>
+ line="877">Name of the remote.</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_all_refs"
transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="881">
+ line="878">
Mapping from ref to checksum</doc>
<type name="GLib.HashTable" c:type="GHashTable**">
<type name="utf8"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="883">Cancellable</doc>
+ line="880">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="499">Look up the checksum for the given collection–ref, returning it in @out_rev.
+ line="496">Look up the checksum for the given collection–ref, returning it in @out_rev.
This will search through the mirrors and remote refs.
If @allow_noent is %TRUE and the given @ref cannot be found, %TRUE will be
If you want to check only local refs, not remote or mirrored ones, use the
flag %OSTREE_REPO_RESOLVE_REV_EXT_LOCAL_ONLY. This is analogous to using
ostree_repo_resolve_rev_ext() but for collection-refs.</doc>
- <source-position filename="ostree-repo.h" line="524"/>
+ <source-position filename="ostree-repo.h" line="522"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="523">%TRUE on success, %FALSE on failure</doc>
+ line="520">%TRUE on success, %FALSE on failure</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="501">an #OstreeRepo</doc>
+ line="498">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="502">a collection–ref to resolve</doc>
+ line="499">a collection–ref to resolve</doc>
<type name="CollectionRef" c:type="const OstreeCollectionRef*"/>
</parameter>
<parameter name="allow_noent" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="503">%TRUE to not throw an error if @ref doesn’t exist</doc>
+ line="500">%TRUE to not throw an error if @ref doesn’t exist</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="504">options controlling behaviour</doc>
+ line="501">options controlling behaviour</doc>
<type name="RepoResolveRevExtFlags"
c:type="OstreeRepoResolveRevExtFlags"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="505">return location for
+ line="502">return location for
the checksum corresponding to @ref, or %NULL if @allow_noent is %TRUE and
the @ref could not be found</doc>
<type name="utf8" c:type="char**"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="508">a #GCancellable, or %NULL</doc>
+ line="505">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="1439">Find the GPG keyring for the given @collection_id, using the local
+ line="1437">Find the GPG keyring for the given @collection_id, using the local
configuration from the given #OstreeRepo. This will search the configured
remotes for ones whose `collection-id` key matches @collection_id, and will
return the first matching remote.
keyrings should match.
If no match can be found, a %G_IO_ERROR_NOT_FOUND error will be returned.</doc>
- <source-position filename="ostree-repo.h" line="1378"/>
+ <source-position filename="ostree-repo.h" line="1395"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="1457">#OstreeRemote containing the GPG keyring for
+ line="1455">#OstreeRemote containing the GPG keyring for
@collection_id</doc>
<type name="Remote" c:type="OstreeRemote*"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="1441">an #OstreeRepo</doc>
+ line="1439">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="collection_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="1442">the collection ID to look up a keyring for</doc>
+ line="1440">the collection ID to look up a keyring for</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-pull.c"
- line="1443">a #GCancellable, or %NULL</doc>
+ line="1441">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="447">Look up the given refspec, returning the checksum it references in
+ line="444">Look up the given refspec, returning the checksum it references in
the parameter @out_rev. Will fall back on remote directory if cannot
find the given refspec in local.</doc>
- <source-position filename="ostree-repo.h" line="499"/>
+ <source-position filename="ostree-repo.h" line="497"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="449">Repo</doc>
+ line="446">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="refspec" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="450">A refspec</doc>
+ line="447">A refspec</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="allow_noent" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="451">Do not throw an error if refspec does not exist</doc>
+ line="448">Do not throw an error if refspec does not exist</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="out_rev"
nullable="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="452">A checksum,or %NULL if @allow_noent is true and it does not exist</doc>
+ line="449">A checksum,or %NULL if @allow_noent is true and it does not exist</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="469">Look up the given refspec, returning the checksum it references in
+ line="466">Look up the given refspec, returning the checksum it references in
the parameter @out_rev. Differently from ostree_repo_resolve_rev(),
this will not fall back to searching through remote repos if a
local ref is specified but not found.
The flag %OSTREE_REPO_RESOLVE_REV_EXT_LOCAL_ONLY is implied so
using it has no effect.</doc>
- <source-position filename="ostree-repo.h" line="516"/>
+ <source-position filename="ostree-repo.h" line="514"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="471">Repo</doc>
+ line="468">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="refspec" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="472">A refspec</doc>
+ line="469">A refspec</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="allow_noent" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="473">Do not throw an error if refspec does not exist</doc>
+ line="470">Do not throw an error if refspec does not exist</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="474">Options controlling behavior</doc>
+ line="471">Options controlling behavior</doc>
<type name="RepoResolveRevExtFlags"
c:type="OstreeRepoResolveRevExtFlags"/>
</parameter>
nullable="1">
<doc xml:space="preserve"
filename="ostree-repo-refs.c"
- line="475">A checksum,or %NULL if @allow_noent is true and it does not exist</doc>
+ line="472">A checksum,or %NULL if @allow_noent is true and it does not exist</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1605">This function is deprecated in favor of using ostree_repo_devino_cache_new(),
+ line="1608">This function is deprecated in favor of using ostree_repo_devino_cache_new(),
which allows a precise mapping to be built up between hardlink checkout files
and their checksums between `ostree_repo_checkout_at()` and
`ostree_repo_write_directory_to_mtree()`.
ostree_repo_devino_cache_new() is better as it avoids scanning all objects.
Multithreading: This function is *not* MT safe.</doc>
- <source-position filename="ostree-repo.h" line="312"/>
+ <source-position filename="ostree-repo.h" line="310"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1607">An #OstreeRepo</doc>
+ line="1610">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="1608">Cancellable</doc>
+ line="1611">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2205">Like ostree_repo_set_ref_immediate(), but creates an alias.</doc>
- <source-position filename="ostree-repo.h" line="371"/>
+ line="2221">Like ostree_repo_set_ref_immediate(), but creates an alias.</doc>
+ <source-position filename="ostree-repo.h" line="369"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2207">An #OstreeRepo</doc>
+ line="2223">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2208">A remote for the ref</doc>
+ line="2224">A remote for the ref</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2209">The ref to write</doc>
+ line="2225">The ref to write</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="target"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2210">The ref target to point it to, or %NULL to unset</doc>
+ line="2226">The ref target to point it to, or %NULL to unset</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2211">GCancellable</doc>
+ line="2227">GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3626">Set a custom location for the cache directory used for e.g.
+ line="3662">Set a custom location for the cache directory used for e.g.
per-remote summary caches. Setting this manually is useful when
doing operations on a system repo as a user because you don't have
write permissions in the repo, where the cache is normally stored.</doc>
- <source-position filename="ostree-repo.h" line="80"/>
+ <source-position filename="ostree-repo.h" line="78"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3628">An #OstreeRepo</doc>
+ line="3664">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3629">directory fd</doc>
+ line="3665">directory fd</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3630">subpath in @dfd</doc>
+ line="3666">subpath in @dfd</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3631">a #GCancellable</doc>
+ line="3667">a #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6545">Set or clear the collection ID of this repository. See [collection IDs][collection-ids].
+ line="6619">Set or clear the collection ID of this repository. See [collection IDs][collection-ids].
The update will be made in memory, but must be written out to the repository
configuration on disk using ostree_repo_write_config().</doc>
- <source-position filename="ostree-repo.h" line="112"/>
+ <source-position filename="ostree-repo.h" line="110"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6555">%TRUE on success, %FALSE otherwise</doc>
+ line="6629">%TRUE on success, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6547">an #OstreeRepo</doc>
+ line="6621">an #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="collection_id"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="6548">new collection ID, or %NULL to unset it</doc>
+ line="6622">new collection ID, or %NULL to unset it</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2231">This is like ostree_repo_transaction_set_collection_ref(), except it may be
+ line="2247">This is like ostree_repo_transaction_set_collection_ref(), except it may be
invoked outside of a transaction. This is presently safe for the
case where we're creating or overwriting an existing ref.</doc>
- <source-position filename="ostree-repo.h" line="379"/>
+ <source-position filename="ostree-repo.h" line="377"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2243">%TRUE on success, %FALSE otherwise</doc>
+ line="2259">%TRUE on success, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2233">An #OstreeRepo</doc>
+ line="2249">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2234">The collection–ref to write</doc>
+ line="2250">The collection–ref to write</doc>
<type name="CollectionRef" c:type="const OstreeCollectionRef*"/>
</parameter>
<parameter name="checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2235">The checksum to point it to, or %NULL to unset</doc>
+ line="2251">The checksum to point it to, or %NULL to unset</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2236">GCancellable</doc>
+ line="2252">GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_set_disable_fsync">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3609">Disable requests to fsync() to stable storage during commits. This
+ line="3645">Disable requests to fsync() to stable storage during commits. This
option should only be used by build system tools which are creating
disposable virtual machines, or have higher level mechanisms for
ensuring data consistency.</doc>
- <source-position filename="ostree-repo.h" line="76"/>
+ <source-position filename="ostree-repo.h" line="74"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3611">An #OstreeRepo</doc>
+ line="3647">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="disable_fsync" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="3612">If %TRUE, do not fsync</doc>
+ line="3648">If %TRUE, do not fsync</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2177">This is like ostree_repo_transaction_set_ref(), except it may be
+ line="2193">This is like ostree_repo_transaction_set_ref(), except it may be
invoked outside of a transaction. This is presently safe for the
case where we're creating or overwriting an existing ref.
Multithreading: This function is MT safe.</doc>
- <source-position filename="ostree-repo.h" line="363"/>
+ <source-position filename="ostree-repo.h" line="361"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2179">An #OstreeRepo</doc>
+ line="2195">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2180">A remote for the ref</doc>
+ line="2196">A remote for the ref</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2181">The ref to write</doc>
+ line="2197">The ref to write</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2182">The checksum to point it to, or %NULL to unset</doc>
+ line="2198">The checksum to point it to, or %NULL to unset</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2183">GCancellable</doc>
+ line="2199">GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5301">Add a GPG signature to a commit.</doc>
- <source-position filename="ostree-repo.h" line="1396"/>
+ line="5376">Add a GPG signature to a commit.</doc>
+ <source-position filename="ostree-repo.h" line="1413"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5303">Self</doc>
+ line="5378">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5304">SHA256 of given commit to sign</doc>
+ line="5379">SHA256 of given commit to sign</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="key_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5305">Use this GPG key id</doc>
+ line="5380">Use this GPG key id</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="homedir"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5306">GPG home directory, or %NULL</doc>
+ line="5381">GPG home directory, or %NULL</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5307">A #GCancellable</doc>
+ line="5382">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5390">This function is deprecated, sign the summary file instead.
+ line="5465">This function is deprecated, sign the summary file instead.
Add a GPG signature to a static delta.</doc>
- <source-position filename="ostree-repo.h" line="1404"/>
+ <source-position filename="ostree-repo.h" line="1421"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5392">Self</doc>
+ line="5467">Self</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="from_commit" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5393">From commit</doc>
+ line="5468">From commit</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="to_commit" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5394">To commit</doc>
+ line="5469">To commit</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="key_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5395">key id</doc>
+ line="5470">key id</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="homedir" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5396">homedir</doc>
+ line="5471">homedir</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5397">cancellable</doc>
+ line="5472">cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-pull-verify.c"
- line="359">Validate the commit data using the commit metadata which must
+ line="357">Validate the commit data using the commit metadata which must
contain at least one valid signature. If GPG and signapi are
both enabled, then both must find at least one valid signature.</doc>
- <source-position filename="ostree-repo.h" line="1556"/>
+ <source-position filename="ostree-repo.h" line="1573"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull-verify.c"
- line="361">Repo</doc>
+ line="359">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull-verify.c"
- line="362">Name of remote</doc>
+ line="360">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="commit_data" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull-verify.c"
- line="363">Commit object data (GVariant)</doc>
+ line="361">Commit object data (GVariant)</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="commit_metadata" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull-verify.c"
- line="364">Commit metadata (GVariant `a{sv}`), must contain at least one valid signature</doc>
+ line="362">Commit metadata (GVariant `a{sv}`), must contain at least one valid signature</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-pull-verify.c"
- line="365">Optionally disable GPG or signapi</doc>
+ line="363">Optionally disable GPG or signapi</doc>
<type name="RepoVerifyFlags" c:type="OstreeRepoVerifyFlags"/>
</parameter>
<parameter name="out_results"
nullable="1">
<doc xml:space="preserve"
filename="ostree-repo-pull-verify.c"
- line="366">Textual description of results</doc>
+ line="364">Textual description of results</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="630">Given a directory representing an already-downloaded static delta
+ line="634">Given a directory representing an already-downloaded static delta
on disk, apply it, generating a new commit. The directory must be
named with the form "FROM-TO", where both are checksums, and it
must contain a file named "superblock", along with at least one part.</doc>
- <source-position filename="ostree-repo.h" line="1139"/>
+ <source-position filename="ostree-repo.h" line="1147"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="632">Repo</doc>
+ line="636">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="dir_or_file" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="633">Path to a directory containing static delta data, or directly to the superblock</doc>
+ line="637">Path to a directory containing static delta data, or directly to the superblock</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="skip_validation" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="634">If %TRUE, assume data integrity</doc>
+ line="638">If %TRUE, assume data integrity</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="635">Cancellable</doc>
+ line="639">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="390">Given a directory representing an already-downloaded static delta
+ line="388">Given a directory representing an already-downloaded static delta
on disk, apply it, generating a new commit.
If sign is passed, the static delta signature is verified.
If sign-verify-deltas configuration option is set and static delta is signed,
The directory must be named with the form "FROM-TO", where both are
checksums, and it must contain a file named "superblock", along with at least
one part.</doc>
- <source-position filename="ostree-repo.h" line="1131"/>
+ <source-position filename="ostree-repo.h" line="1139"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="392">Repo</doc>
+ line="390">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="dir_or_file" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="393">Path to a directory containing static delta data, or directly to the superblock</doc>
+ line="391">Path to a directory containing static delta data, or directly to the superblock</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="sign" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="394">Signature engine used to check superblock</doc>
+ line="392">Signature engine used to check superblock</doc>
<type name="Sign" c:type="OstreeSign*"/>
</parameter>
<parameter name="skip_validation" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="395">If %TRUE, assume data integrity</doc>
+ line="393">If %TRUE, assume data integrity</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="396">Cancellable</doc>
+ line="394">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-compilation.c"
- line="1312">Generate a lookaside "static delta" from @from (%NULL means
+ line="1310">Generate a lookaside "static delta" from @from (%NULL means
from-empty) which can generate the objects in @to. This delta is
an optimization over fetching individual objects, and can be
conveniently stored and applied offline.
- filename: ay: Save delta superblock to this filename, and parts in the same directory. Default saves to repository.
- sign-name: ay: Signature type to use.
- sign-key-ids: as: Array of keys used to sign delta superblock.</doc>
- <source-position filename="ostree-repo.h" line="1104"/>
+ <source-position filename="ostree-repo.h" line="1102"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-compilation.c"
- line="1314">Repo</doc>
+ line="1312">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="opt" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-compilation.c"
- line="1315">High level optimization choice</doc>
+ line="1313">High level optimization choice</doc>
<type name="StaticDeltaGenerateOpt"
c:type="OstreeStaticDeltaGenerateOpt"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-compilation.c"
- line="1316">ASCII SHA256 checksum of origin, or %NULL</doc>
+ line="1314">ASCII SHA256 checksum of origin, or %NULL</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="to" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-compilation.c"
- line="1317">ASCII SHA256 checksum of target</doc>
+ line="1315">ASCII SHA256 checksum of target</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="metadata"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-compilation.c"
- line="1318">Optional metadata</doc>
+ line="1316">Optional metadata</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="params"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-compilation.c"
- line="1319">Parameters, see below</doc>
+ line="1317">Parameters, see below</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-compilation.c"
- line="1320">Cancellable</doc>
+ line="1318">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="1241">The delta index for a particular commit lists all the existing deltas that can be used
+ line="1245">The delta index for a particular commit lists all the existing deltas that can be used
when downloading that commit. This operation regenerates these indexes, either for
a particular commit (if @opt_to_commit is non-%NULL), or for all commits that
are reachable by an existing delta (if @opt_to_commit is %NULL).
This is normally called automatically when the summary is updated in ostree_repo_regenerate_summary().
Locking: shared</doc>
- <source-position filename="ostree-repo.h" line="1124"/>
+ <source-position filename="ostree-repo.h" line="1132"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="1243">Repo</doc>
+ line="1247">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="1244">Flags affecting the indexing operation</doc>
+ line="1248">Flags affecting the indexing operation</doc>
<type name="StaticDeltaIndexFlags"
c:type="OstreeStaticDeltaIndexFlags"/>
</parameter>
<parameter name="opt_to_commit" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="1245">ASCII SHA256 checksum of target commit, or %NULL to index all targets</doc>
+ line="1249">ASCII SHA256 checksum of target commit, or %NULL to index all targets</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="1246">Cancellable</doc>
+ line="1250">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="1161">Verify static delta file signature.</doc>
- <source-position filename="ostree-repo.h" line="1146"/>
+ line="1165">Verify static delta file signature.</doc>
+ <source-position filename="ostree-repo.h" line="1154"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="1171">TRUE if the signature of static delta file is valid using the
+ line="1175">TRUE if the signature of static delta file is valid using the
signature engine provided, FALSE otherwise.</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="1163">Repo</doc>
+ line="1167">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="delta_id" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="1164">delta path</doc>
+ line="1168">delta path</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="sign" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="1165">Signature engine used to check superblock</doc>
+ line="1169">Signature engine used to check superblock</doc>
<type name="Sign" c:type="OstreeSign*"/>
</parameter>
<parameter name="out_success_message"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-static-delta-core.c"
- line="1166">success message</doc>
+ line="1170">success message</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2139">If @checksum is not %NULL, then record it as the target of local ref named
+ line="2151">If @checksum is not %NULL, then record it as the target of local ref named
@ref.
Otherwise, if @checksum is %NULL, then record that the ref should
be made to the repository.
Multithreading: Since v2017.15 this function is MT safe.</doc>
- <source-position filename="ostree-repo.h" line="358"/>
+ <source-position filename="ostree-repo.h" line="356"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2141">An #OstreeRepo</doc>
+ line="2153">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2142">The collection–ref to write</doc>
+ line="2154">The collection–ref to write</doc>
<type name="CollectionRef" c:type="const OstreeCollectionRef*"/>
</parameter>
<parameter name="checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2143">The checksum to point it to</doc>
+ line="2155">The checksum to point it to</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_transaction_set_ref">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2090">If @checksum is not %NULL, then record it as the target of ref named
+ line="2100">If @checksum is not %NULL, then record it as the target of ref named
@ref; if @remote is provided, the ref will appear to originate from that
remote.
case.
Multithreading: Since v2017.15 this function is MT safe.</doc>
- <source-position filename="ostree-repo.h" line="352"/>
+ <source-position filename="ostree-repo.h" line="350"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2092">An #OstreeRepo</doc>
+ line="2102">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2093">A remote for the ref</doc>
+ line="2103">A remote for the ref</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2094">The ref to write</doc>
+ line="2104">The ref to write</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2095">The checksum to point it to</doc>
+ line="2105">The checksum to point it to</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_transaction_set_refspec">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2065">Like ostree_repo_transaction_set_ref(), but takes concatenated
+ line="2073">Like ostree_repo_transaction_set_ref(), but takes concatenated
@refspec format as input instead of separate remote and name
arguments.
Multithreading: Since v2017.15 this function is MT safe.</doc>
- <source-position filename="ostree-repo.h" line="347"/>
+ <source-position filename="ostree-repo.h" line="345"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2067">An #OstreeRepo</doc>
+ line="2075">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="refspec" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2068">The refspec to write</doc>
+ line="2076">The refspec to write</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2069">The checksum to point it to</doc>
+ line="2077">The checksum to point it to</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="665">Create a new set @out_reachable containing all objects reachable
+ line="703">Create a new set @out_reachable containing all objects reachable
from @commit_checksum, traversing @maxdepth parent commits.</doc>
- <source-position filename="ostree-repo.h" line="1162"/>
+ <source-position filename="ostree-repo.h" line="1170"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="667">Repo</doc>
+ line="705">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="668">ASCII SHA256 checksum</doc>
+ line="706">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="maxdepth" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="669">Traverse this many parent commits, -1 for unlimited</doc>
+ line="707">Traverse this many parent commits, -1 for unlimited</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="out_reachable"
transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="670">Set of reachable objects</doc>
+ line="708">Set of reachable objects</doc>
<type name="GLib.HashTable" c:type="GHashTable**">
<type name="GLib.Variant"/>
<type name="GLib.Variant"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="671">Cancellable</doc>
+ line="709">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="639">Update the set @inout_reachable containing all objects reachable
+ line="677">Update the set @inout_reachable containing all objects reachable
from @commit_checksum, traversing @maxdepth parent commits.</doc>
- <source-position filename="ostree-repo.h" line="1170"/>
+ <source-position filename="ostree-repo.h" line="1178"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="641">Repo</doc>
+ line="679">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="642">ASCII SHA256 checksum</doc>
+ line="680">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="maxdepth" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="643">Traverse this many parent commits, -1 for unlimited</doc>
+ line="681">Traverse this many parent commits, -1 for unlimited</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="inout_reachable" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="644">Set of reachable objects</doc>
+ line="682">Set of reachable objects</doc>
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="gpointer" c:type="gpointer"/>
<type name="gpointer" c:type="gpointer"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="645">Cancellable</doc>
+ line="683">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="546">Update the set @inout_reachable containing all objects reachable
+ line="644">Update the set @inout_reachable containing all objects reachable
from @commit_checksum, traversing @maxdepth parent commits.
Additionally this constructs a mapping from each object to the parents
of the object, which can be used to track which commits an object
belongs to.</doc>
- <source-position filename="ostree-repo.h" line="1177"/>
+ <source-position filename="ostree-repo.h" line="1186"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="548">Repo</doc>
+ line="646">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="549">ASCII SHA256 checksum</doc>
+ line="647">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="maxdepth" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="550">Traverse this many parent commits, -1 for unlimited</doc>
+ line="648">Traverse this many parent commits, -1 for unlimited</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="inout_reachable" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="551">Set of reachable objects</doc>
+ line="649">Set of reachable objects</doc>
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="gpointer" c:type="gpointer"/>
<type name="gpointer" c:type="gpointer"/>
<parameter name="inout_parents" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="552">Map from object to parent object</doc>
+ line="650">Map from object to parent object</doc>
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="gpointer" c:type="gpointer"/>
<type name="gpointer" c:type="gpointer"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="553">Cancellable</doc>
+ line="651">Cancellable</doc>
+ <type name="Gio.Cancellable" c:type="GCancellable*"/>
+ </parameter>
+ </parameters>
+ </method>
+ <method name="traverse_commit_with_flags"
+ c:identifier="ostree_repo_traverse_commit_with_flags"
+ version="2018.5"
+ introspectable="0"
+ throws="1">
+ <doc xml:space="preserve"
+ filename="ostree-repo-traverse.c"
+ line="544">Update the set @inout_reachable containing all objects reachable
+from @commit_checksum, traversing @maxdepth parent commits.
+
+Additionally this constructs a mapping from each object to the parents
+of the object, which can be used to track which commits an object
+belongs to.</doc>
+ <source-position filename="ostree-repo.h" line="1195"/>
+ <return-value transfer-ownership="none">
+ <type name="gboolean" c:type="gboolean"/>
+ </return-value>
+ <parameters>
+ <instance-parameter name="repo" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-traverse.c"
+ line="546">Repo</doc>
+ <type name="Repo" c:type="OstreeRepo*"/>
+ </instance-parameter>
+ <parameter name="flags" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-traverse.c"
+ line="547">change traversal behaviour according to these flags</doc>
+ <type name="RepoCommitTraverseFlags"
+ c:type="OstreeRepoCommitTraverseFlags"/>
+ </parameter>
+ <parameter name="commit_checksum" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-traverse.c"
+ line="548">ASCII SHA256 checksum</doc>
+ <type name="utf8" c:type="const char*"/>
+ </parameter>
+ <parameter name="maxdepth" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-traverse.c"
+ line="549">Traverse this many parent commits, -1 for unlimited</doc>
+ <type name="gint" c:type="int"/>
+ </parameter>
+ <parameter name="inout_reachable" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-traverse.c"
+ line="550">Set of reachable objects</doc>
+ <type name="GLib.HashTable" c:type="GHashTable*">
+ <type name="gpointer" c:type="gpointer"/>
+ <type name="gpointer" c:type="gpointer"/>
+ </type>
+ </parameter>
+ <parameter name="inout_parents" transfer-ownership="none">
+ <doc xml:space="preserve"
+ filename="ostree-repo-traverse.c"
+ line="551">Map from object to parent object</doc>
+ <type name="GLib.HashTable" c:type="GHashTable*">
+ <type name="gpointer" c:type="gpointer"/>
+ <type name="gpointer" c:type="gpointer"/>
+ </type>
+ </parameter>
+ <parameter name="cancellable"
+ transfer-ownership="none"
+ nullable="1"
+ allow-none="1">
+ <doc xml:space="preserve"
+ filename="ostree-repo-traverse.c"
+ line="552">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="307">Add all commit objects directly reachable via a ref to @reachable.
+ line="356">Add all commit objects directly reachable via a ref to @reachable.
Locking: shared</doc>
- <source-position filename="ostree-repo.h" line="1289"/>
+ <source-position filename="ostree-repo.h" line="1306"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="309">Repo</doc>
+ line="358">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="depth" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="310">Depth of traversal</doc>
+ line="359">Depth of traversal</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="reachable" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="311">Set of reachable objects (will be modified)</doc>
+ line="360">Set of reachable objects (will be modified)</doc>
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="GLib.Variant"/>
<type name="GLib.Variant"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-prune.c"
- line="312">Cancellable</doc>
+ line="361">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5803">Check for a valid GPG signature on commit named by the ASCII
+ line="5878">Check for a valid GPG signature on commit named by the ASCII
checksum @commit_checksum.</doc>
- <source-position filename="ostree-repo.h" line="1414"/>
+ <source-position filename="ostree-repo.h" line="1431"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5815">%TRUE if there was a GPG signature from a trusted keyring, otherwise %FALSE</doc>
+ line="5890">%TRUE if there was a GPG signature from a trusted keyring, otherwise %FALSE</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5805">Repository</doc>
+ line="5880">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5806">ASCII SHA256 checksum</doc>
+ line="5881">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="keyringdir"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5807">Path to directory GPG keyrings; overrides built-in default if given</doc>
+ line="5882">Path to directory GPG keyrings; overrides built-in default if given</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="extra_keyring"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5808">Path to additional keyring file (not a directory)</doc>
+ line="5883">Path to additional keyring file (not a directory)</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5809">Cancellable</doc>
+ line="5884">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5841">Read GPG signature(s) on the commit named by the ASCII checksum
+ line="5916">Read GPG signature(s) on the commit named by the ASCII checksum
@commit_checksum and return detailed results.</doc>
- <source-position filename="ostree-repo.h" line="1508"/>
+ <source-position filename="ostree-repo.h" line="1525"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5853">an #OstreeGpgVerifyResult, or %NULL on error</doc>
+ line="5928">an #OstreeGpgVerifyResult, or %NULL on error</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5843">Repository</doc>
+ line="5918">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5844">ASCII SHA256 checksum</doc>
+ line="5919">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="keyringdir"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5845">Path to directory GPG keyrings; overrides built-in default if given</doc>
+ line="5920">Path to directory GPG keyrings; overrides built-in default if given</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="extra_keyring"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5846">Path to additional keyring file (not a directory)</doc>
+ line="5921">Path to additional keyring file (not a directory)</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5847">Cancellable</doc>
+ line="5922">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5877">Read GPG signature(s) on the commit named by the ASCII checksum
+ line="5952">Read GPG signature(s) on the commit named by the ASCII checksum
@commit_checksum and return detailed results, based on the keyring
configured for @remote.</doc>
- <source-position filename="ostree-repo.h" line="1517"/>
+ <source-position filename="ostree-repo.h" line="1534"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5889">an #OstreeGpgVerifyResult, or %NULL on error</doc>
+ line="5964">an #OstreeGpgVerifyResult, or %NULL on error</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5879">Repository</doc>
+ line="5954">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5880">ASCII SHA256 checksum</doc>
+ line="5955">ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5881">OSTree remote to use for configuration</doc>
+ line="5956">OSTree remote to use for configuration</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5882">Cancellable</doc>
+ line="5957">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5964">Verify @signatures for @summary data using GPG keys in the keyring for
+ line="6039">Verify @signatures for @summary data using GPG keys in the keyring for
@remote_name, and return an #OstreeGpgVerifyResult.</doc>
- <source-position filename="ostree-repo.h" line="1534"/>
+ <source-position filename="ostree-repo.h" line="1551"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5976">an #OstreeGpgVerifyResult, or %NULL on error</doc>
+ line="6051">an #OstreeGpgVerifyResult, or %NULL on error</doc>
<type name="GpgVerifyResult" c:type="OstreeGpgVerifyResult*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5966">Repo</doc>
+ line="6041">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5967">Name of remote</doc>
+ line="6042">Name of remote</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="summary" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5968">Summary data as a #GBytes</doc>
+ line="6043">Summary data as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="signatures" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5969">Summary signatures as a #GBytes</doc>
+ line="6044">Summary signatures as a #GBytes</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="5970">Cancellable</doc>
+ line="6045">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="968">Import an archive file @archive into the repository, and write its
+ line="971">Import an archive file @archive into the repository, and write its
file structure to @mtree.</doc>
- <source-position filename="ostree-repo.h" line="766"/>
+ <source-position filename="ostree-repo.h" line="764"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="970">An #OstreeRepo</doc>
+ line="973">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="archive" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="971">A path to an archive file</doc>
+ line="974">A path to an archive file</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="mtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="972">The #OstreeMutableTree to write to</doc>
+ line="975">The #OstreeMutableTree to write to</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</parameter>
<parameter name="modifier"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="973">Optional commit modifier</doc>
+ line="976">Optional commit modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</parameter>
<parameter name="autocreate_parents" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="974">Autocreate parent directories</doc>
+ line="977">Autocreate parent directories</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="975">Cancellable</doc>
+ line="978">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1003">Read an archive from @fd and import it into the repository, writing
+ line="1006">Read an archive from @fd and import it into the repository, writing
its file structure to @mtree.</doc>
- <source-position filename="ostree-repo.h" line="776"/>
+ <source-position filename="ostree-repo.h" line="774"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1005">An #OstreeRepo</doc>
+ line="1008">An #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="fd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1006">A file descriptor to read the archive from</doc>
+ line="1009">A file descriptor to read the archive from</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="mtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1007">The #OstreeMutableTree to write to</doc>
+ line="1010">The #OstreeMutableTree to write to</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</parameter>
<parameter name="modifier"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1008">Optional commit modifier</doc>
+ line="1011">Optional commit modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</parameter>
<parameter name="autocreate_parents" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1009">Autocreate parent directories</doc>
+ line="1012">Autocreate parent directories</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-libarchive.c"
- line="1010">Cancellable</doc>
+ line="1013">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3013">Write a commit metadata object, referencing @root_contents_checksum
+ line="3034">Write a commit metadata object, referencing @root_contents_checksum
and @root_metadata_checksum.
This uses the current time as the commit timestamp, but it can be
overridden with an explicit timestamp via the
[standard](https://reproducible-builds.org/specs/source-date-epoch/)
`SOURCE_DATE_EPOCH` environment flag.</doc>
- <source-position filename="ostree-repo.h" line="875"/>
+ <source-position filename="ostree-repo.h" line="873"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3015">Repo</doc>
+ line="3036">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="parent"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3016">ASCII SHA256 checksum for parent, or %NULL for none</doc>
+ line="3037">ASCII SHA256 checksum for parent, or %NULL for none</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="subject"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3017">Subject</doc>
+ line="3038">Subject</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="body"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3018">Body</doc>
+ line="3039">Body</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="metadata"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3019">GVariant of type a{sv}, or %NULL for none</doc>
+ line="3040">GVariant of type a{sv}, or %NULL for none</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="root" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3020">The tree to point the commit to</doc>
+ line="3041">The tree to point the commit to</doc>
<type name="RepoFile" c:type="OstreeRepoFile*"/>
</parameter>
<parameter name="out_commit"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3021">Resulting ASCII SHA256 checksum for commit</doc>
+ line="3042">Resulting ASCII SHA256 checksum for commit</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3022">Cancellable</doc>
+ line="3043">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3170">Replace any existing metadata associated with commit referred to by
+ line="3191">Replace any existing metadata associated with commit referred to by
@checksum with @metadata. If @metadata is %NULL, then existing
data will be deleted.</doc>
- <source-position filename="ostree-repo.h" line="905"/>
+ <source-position filename="ostree-repo.h" line="903"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3172">Repo</doc>
+ line="3193">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3173">ASCII SHA256 commit checksum</doc>
+ line="3194">ASCII SHA256 commit checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="metadata"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3174">Metadata to associate with commit in with format "a{sv}", or %NULL to delete</doc>
+ line="3195">Metadata to associate with commit in with format "a{sv}", or %NULL to delete</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3175">Cancellable</doc>
+ line="3196">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3066">Write a commit metadata object, referencing @root_contents_checksum
+ line="3087">Write a commit metadata object, referencing @root_contents_checksum
and @root_metadata_checksum.</doc>
- <source-position filename="ostree-repo.h" line="886"/>
+ <source-position filename="ostree-repo.h" line="884"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3068">Repo</doc>
+ line="3089">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="parent"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3069">ASCII SHA256 checksum for parent, or %NULL for none</doc>
+ line="3090">ASCII SHA256 checksum for parent, or %NULL for none</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="subject"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3070">Subject</doc>
+ line="3091">Subject</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="body"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3071">Body</doc>
+ line="3092">Body</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="metadata"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3072">GVariant of type a{sv}, or %NULL for none</doc>
+ line="3093">GVariant of type a{sv}, or %NULL for none</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="root" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3073">The tree to point the commit to</doc>
+ line="3094">The tree to point the commit to</doc>
<type name="RepoFile" c:type="OstreeRepoFile*"/>
</parameter>
<parameter name="time" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3074">The time to use to stamp the commit</doc>
+ line="3095">The time to use to stamp the commit</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="out_commit"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3075">Resulting ASCII SHA256 checksum for commit</doc>
+ line="3096">Resulting ASCII SHA256 checksum for commit</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="3076">Cancellable</doc>
+ line="3097">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1599">Save @new_config in place of this repository's config file.</doc>
- <source-position filename="ostree-repo.h" line="248"/>
+ line="1630">Save @new_config in place of this repository's config file.</doc>
+ <source-position filename="ostree-repo.h" line="246"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1601">Repo</doc>
+ line="1632">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="new_config" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1602">Overwrite the config file with this data</doc>
+ line="1633">Overwrite the config file with this data</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2718">Store the content object streamed as @object_input,
+ line="2739">Store the content object streamed as @object_input,
with total length @length. The actual checksum will
be returned as @out_csum.</doc>
- <source-position filename="ostree-repo.h" line="418"/>
+ <source-position filename="ostree-repo.h" line="416"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2720">Repo</doc>
+ line="2741">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2721">If provided, validate content against this checksum</doc>
+ line="2742">If provided, validate content against this checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object_input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2722">Content object stream</doc>
+ line="2743">Content object stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2723">Length of @object_input</doc>
+ line="2744">Length of @object_input</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="out_csum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2724">Binary checksum</doc>
+ line="2745">Binary checksum</doc>
<array zero-terminated="0" c:type="guchar**" fixed-size="32">
<type name="guint8" c:type="guchar*"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2725">Cancellable</doc>
+ line="2746">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_write_content_async">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2936">Asynchronously store the content object @object. If provided, the
+ line="2957">Asynchronously store the content object @object. If provided, the
checksum @expected_checksum will be verified.</doc>
- <source-position filename="ostree-repo.h" line="484"/>
+ <source-position filename="ostree-repo.h" line="482"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2938">Repo</doc>
+ line="2959">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2939">If provided, validate content against this checksum</doc>
+ line="2960">If provided, validate content against this checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2940">Input</doc>
+ line="2961">Input</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2941">Length of @object</doc>
+ line="2962">Length of @object</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2942">Cancellable</doc>
+ line="2963">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="5">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2943">Invoked when content is writed</doc>
+ line="2964">Invoked when content is writed</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2944">User data for @callback</doc>
+ line="2965">User data for @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2977">Completes an invocation of ostree_repo_write_content_async().</doc>
- <source-position filename="ostree-repo.h" line="493"/>
+ line="2998">Completes an invocation of ostree_repo_write_content_async().</doc>
+ <source-position filename="ostree-repo.h" line="491"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2979">a #OstreeRepo</doc>
+ line="3000">a #OstreeRepo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2980">a #GAsyncResult</doc>
+ line="3001">a #GAsyncResult</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
<parameter name="out_csum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2981">A binary SHA256 checksum of the content object</doc>
+ line="3002">A binary SHA256 checksum of the content object</doc>
<type name="guint8" c:type="guchar**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2691">Store the content object streamed as @object_input, with total
+ line="2712">Store the content object streamed as @object_input, with total
length @length. The given @checksum will be treated as trusted.
This function should be used when importing file objects from local
disk, for example.</doc>
- <source-position filename="ostree-repo.h" line="476"/>
+ <source-position filename="ostree-repo.h" line="474"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2693">Repo</doc>
+ line="2714">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2694">Store content using this ASCII SHA256 checksum</doc>
+ line="2715">Store content using this ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object_input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2695">Content stream</doc>
+ line="2716">Content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2696">Length of @object_input</doc>
+ line="2717">Length of @object_input</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2697">Cancellable</doc>
+ line="2718">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4139">Store as objects all contents of the directory referred to by @dfd
+ line="4160">Store as objects all contents of the directory referred to by @dfd
and @path all children into the repository @self, overlaying the
resulting filesystem hierarchy into @mtree.</doc>
- <source-position filename="ostree-repo.h" line="756"/>
+ <source-position filename="ostree-repo.h" line="754"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4141">Repo</doc>
+ line="4162">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4142">Directory file descriptor</doc>
+ line="4163">Directory file descriptor</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4143">Path</doc>
+ line="4164">Path</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="mtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4144">Overlay directory contents into this tree</doc>
+ line="4165">Overlay directory contents into this tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</parameter>
<parameter name="modifier"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4145">Optional modifier</doc>
+ line="4166">Optional modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4146">Cancellable</doc>
+ line="4167">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4098">Store objects for @dir and all children into the repository @self,
+ line="4119">Store objects for @dir and all children into the repository @self,
overlaying the resulting filesystem hierarchy into @mtree.</doc>
- <source-position filename="ostree-repo.h" line="748"/>
+ <source-position filename="ostree-repo.h" line="746"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4100">Repo</doc>
+ line="4121">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="dir" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4101">Path to a directory</doc>
+ line="4122">Path to a directory</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="mtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4102">Overlay directory contents into this tree</doc>
+ line="4123">Overlay directory contents into this tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</parameter>
<parameter name="modifier"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4103">Optional modifier</doc>
+ line="4124">Optional modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4104">Cancellable</doc>
+ line="4125">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2421">Store the metadata object @object. Return the checksum
+ line="2446">Store the metadata object @object. Return the checksum
as @out_csum.
If @expected_checksum is not %NULL, verify it against the
computed checksum.</doc>
- <source-position filename="ostree-repo.h" line="394"/>
+ <source-position filename="ostree-repo.h" line="392"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2423">Repo</doc>
+ line="2448">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2424">Object type</doc>
+ line="2449">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2425">If provided, validate content against this checksum</doc>
+ line="2450">If provided, validate content against this checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2426">Metadata</doc>
+ line="2451">Metadata</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_csum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2427">Binary checksum</doc>
+ line="2452">Binary checksum</doc>
<array zero-terminated="0" c:type="guchar**" fixed-size="32">
<type name="guint8" c:type="guchar*"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2428">Cancellable</doc>
+ line="2453">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_write_metadata_async">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2600">Asynchronously store the metadata object @variant. If provided,
+ line="2621">Asynchronously store the metadata object @variant. If provided,
the checksum @expected_checksum will be verified.</doc>
- <source-position filename="ostree-repo.h" line="403"/>
+ <source-position filename="ostree-repo.h" line="401"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2602">Repo</doc>
+ line="2623">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2603">Object type</doc>
+ line="2624">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2604">If provided, validate content against this checksum</doc>
+ line="2625">If provided, validate content against this checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2605">Metadata</doc>
+ line="2626">Metadata</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2606">Cancellable</doc>
+ line="2627">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="5">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2607">Invoked when metadata is writed</doc>
+ line="2628">Invoked when metadata is writed</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2608">Data for @callback</doc>
+ line="2629">Data for @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2641">Complete a call to ostree_repo_write_metadata_async().</doc>
- <source-position filename="ostree-repo.h" line="412"/>
+ line="2662">Complete a call to ostree_repo_write_metadata_async().</doc>
+ <source-position filename="ostree-repo.h" line="410"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2643">Repo</doc>
+ line="2664">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2644">Result</doc>
+ line="2665">Result</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
<parameter name="out_csum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2645">Binary checksum value</doc>
+ line="2666">Binary checksum value</doc>
<array zero-terminated="0" c:type="guchar**" fixed-size="32">
<type name="guint8"/>
</array>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2498">Store the metadata object @variant; the provided @checksum is
+ line="2519">Store the metadata object @variant; the provided @checksum is
trusted.</doc>
- <source-position filename="ostree-repo.h" line="467"/>
+ <source-position filename="ostree-repo.h" line="465"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2500">Repo</doc>
+ line="2521">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2501">Object type</doc>
+ line="2522">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2502">Store object with this ASCII SHA256 checksum</doc>
+ line="2523">Store object with this ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="object_input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2503">Metadata object stream</doc>
+ line="2524">Metadata object stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="length" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2504">Length, may be 0 for unknown</doc>
+ line="2525">Length, may be 0 for unknown</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2505">Cancellable</doc>
+ line="2526">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2535">Store the metadata object @variant; the provided @checksum is
+ line="2556">Store the metadata object @variant; the provided @checksum is
trusted.</doc>
- <source-position filename="ostree-repo.h" line="459"/>
+ <source-position filename="ostree-repo.h" line="457"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2537">Repo</doc>
+ line="2558">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2538">Object type</doc>
+ line="2559">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2539">Store object with this ASCII SHA256 checksum</doc>
+ line="2560">Store object with this ASCII SHA256 checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="variant" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2540">Metadata object</doc>
+ line="2561">Metadata object</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2541">Cancellable</doc>
+ line="2562">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4189">Write all metadata objects for @mtree to repo; the resulting
+ line="4210">Write all metadata objects for @mtree to repo; the resulting
@out_file points to the %OSTREE_OBJECT_TYPE_DIR_TREE object that
the @mtree represented.</doc>
- <source-position filename="ostree-repo.h" line="868"/>
+ <source-position filename="ostree-repo.h" line="866"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4191">Repo</doc>
+ line="4212">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="mtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4192">Mutable tree</doc>
+ line="4213">Mutable tree</doc>
<type name="MutableTree" c:type="OstreeMutableTree*"/>
</parameter>
<parameter name="out_file"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4193">An #OstreeRepoFile representing @mtree's root.</doc>
+ line="4214">An #OstreeRepoFile representing @mtree's root.</doc>
<type name="Gio.File" c:type="GFile**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4194">Cancellable</doc>
+ line="4215">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2863">Create an `OstreeContentWriter` that allows streaming output into
+ line="2884">Create an `OstreeContentWriter` that allows streaming output into
the repository.</doc>
- <source-position filename="ostree-repo.h" line="439"/>
+ <source-position filename="ostree-repo.h" line="437"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2877">A new writer, or %NULL on error</doc>
+ line="2898">A new writer, or %NULL on error</doc>
<type name="ContentWriter" c:type="OstreeContentWriter*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2865">Repo,</doc>
+ line="2886">Repo,</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2866">Expected checksum (SHA-256 hex string)</doc>
+ line="2887">Expected checksum (SHA-256 hex string)</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="uid" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2867">user id</doc>
+ line="2888">user id</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="gid" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2868">group id</doc>
+ line="2889">group id</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2869">Unix file mode</doc>
+ line="2890">Unix file mode</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="content_len" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2870">Expected content length</doc>
+ line="2891">Expected content length</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2871">Extended attributes (GVariant type `(ayay)`)</doc>
+ line="2892">Extended attributes (GVariant type `(ayay)`)</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2776">Synchronously create a file object from the provided content. This API
+ line="2797">Synchronously create a file object from the provided content. This API
is intended for small files where it is reasonable to buffer the entire
content in memory.
Unlike `ostree_repo_write_content()`, if @expected_checksum is provided,
this function will not check for the presence of the object beforehand.</doc>
- <source-position filename="ostree-repo.h" line="427"/>
+ <source-position filename="ostree-repo.h" line="425"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2795">Checksum (as a hex string) of the committed file</doc>
+ line="2816">Checksum (as a hex string) of the committed file</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2778">repo</doc>
+ line="2799">repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2779">The expected checksum</doc>
+ line="2800">The expected checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="uid" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2780">User id</doc>
+ line="2801">User id</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="gid" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2781">Group id</doc>
+ line="2802">Group id</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2782">File mode</doc>
+ line="2803">File mode</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2783">Extended attributes, GVariant of type (ayay)</doc>
+ line="2804">Extended attributes, GVariant of type (ayay)</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="buf" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2784">File contents</doc>
+ line="2805">File contents</doc>
<array length="6" zero-terminated="0" c:type="const guint8*">
<type name="guint8"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2785">Cancellable</doc>
+ line="2806">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2822">Synchronously create a symlink object.
+ line="2843">Synchronously create a symlink object.
Unlike `ostree_repo_write_content()`, if @expected_checksum is provided,
this function will not check for the presence of the object beforehand.</doc>
- <source-position filename="ostree-repo.h" line="449"/>
+ <source-position filename="ostree-repo.h" line="447"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2838">Checksum (as a hex string) of the committed file</doc>
+ line="2859">Checksum (as a hex string) of the committed file</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2824">repo</doc>
+ line="2845">repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</instance-parameter>
<parameter name="expected_checksum"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2825">The expected checksum</doc>
+ line="2846">The expected checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="uid" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2826">User id</doc>
+ line="2847">User id</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="gid" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2827">Group id</doc>
+ line="2848">Group id</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2828">Extended attributes, GVariant of type (ayay)</doc>
+ line="2849">Extended attributes, GVariant of type (ayay)</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="symlink_target" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2829">Target of the symbolic link</doc>
+ line="2850">Target of the symbolic link</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="2830">Cancellable</doc>
+ line="2851">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1259">Path to repository. Note that if this repository was created
+ line="1286">Path to repository. Note that if this repository was created
via `ostree_repo_new_at()`, this value will refer to a value in
the Linux kernel's `/proc/self/fd` directory. Generally, you
should avoid using this property at all; you can gain a reference
transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1292">Path to directory containing remote definitions. The default is `NULL`.
+ line="1319">Path to directory containing remote definitions. The default is `NULL`.
If a `sysroot-path` property is defined, this value will default to
`${sysroot_path}/etc/ostree/remotes.d`.
transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1274">A system using libostree for the host has a "system" repository; this
+ line="1301">A system using libostree for the host has a "system" repository; this
property will be set for repositories referenced via
`ostree_sysroot_repo()` for example.
<glib:signal name="gpg-verify-result" when="last">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1310">Emitted during a pull operation upon GPG verification (if enabled).
+ line="1337">Emitted during a pull operation upon GPG verification (if enabled).
Applications can connect to this signal to output the verification
results if desired.
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1313">checksum of the signed object</doc>
+ line="1340">checksum of the signed object</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="1314">an #OstreeGpgVerifyResult</doc>
+ line="1341">an #OstreeGpgVerifyResult</doc>
<type name="GpgVerifyResult"/>
</parameter>
</parameters>
<record name="RepoCheckoutAtOptions" c:type="OstreeRepoCheckoutAtOptions">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="974">An extensible options structure controlling checkout. Ensure that
+ line="972">An extensible options structure controlling checkout. Ensure that
you have entirely zeroed the structure, then set just the desired
options. This is used by ostree_repo_checkout_at() which
supercedes previous separate enumeration usage in
ostree_repo_checkout_tree() and ostree_repo_checkout_tree_at().</doc>
- <source-position filename="ostree-repo.h" line="1007"/>
+ <source-position filename="ostree-repo.h" line="1005"/>
<field name="mode" writable="1">
<type name="RepoCheckoutMode" c:type="OstreeRepoCheckoutMode"/>
</field>
version="2017.13">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1412">This function simply assigns @cache to the `devino_to_csum_cache` member of
+ line="1410">This function simply assigns @cache to the `devino_to_csum_cache` member of
@opts; it's only useful for introspection.
Note that cache does *not* have its refcount incremented - the lifetime of
@cache must be equal to or greater than that of @opts.</doc>
- <source-position filename="ostree-repo.h" line="1019"/>
+ <source-position filename="ostree-repo.h" line="1017"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="opts" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1414">Checkout options</doc>
+ line="1412">Checkout options</doc>
<type name="RepoCheckoutAtOptions"
c:type="OstreeRepoCheckoutAtOptions*"/>
</instance-parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1415">Devino cache</doc>
+ line="1413">Devino cache</doc>
<type name="RepoDevInoCache" c:type="OstreeRepoDevInoCache*"/>
</parameter>
</parameters>
<callback name="RepoCheckoutFilter"
c:type="OstreeRepoCheckoutFilter"
version="2018.2">
- <source-position filename="ostree-repo.h" line="969"/>
+ <source-position filename="ostree-repo.h" line="967"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="965">#OstreeRepoCheckoutFilterResult saying whether or not to checkout this file</doc>
+ line="963">#OstreeRepoCheckoutFilterResult saying whether or not to checkout this file</doc>
<type name="RepoCheckoutFilterResult"
c:type="OstreeRepoCheckoutFilterResult"/>
</return-value>
<parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="960">Repo</doc>
+ line="958">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="961">Path to file</doc>
+ line="959">Path to file</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="stbuf"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="962">File information</doc>
+ line="960">File information</doc>
<type name="gpointer" c:type="stat*"/>
</parameter>
<parameter name="user_data"
closure="3">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="963">User data</doc>
+ line="961">User data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
<enumeration name="RepoCheckoutFilterResult"
version="2018.2"
c:type="OstreeRepoCheckoutFilterResult">
- <source-position filename="ostree-repo.h" line="956"/>
+ <source-position filename="ostree-repo.h" line="954"/>
<member name="allow"
value="0"
c:identifier="OSTREE_REPO_CHECKOUT_FILTER_ALLOW">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="948">Do checkout this object</doc>
+ line="946">Do checkout this object</doc>
</member>
<member name="skip"
value="1"
c:identifier="OSTREE_REPO_CHECKOUT_FILTER_SKIP">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="949">Ignore this object</doc>
+ line="947">Ignore this object</doc>
</member>
</enumeration>
<enumeration name="RepoCheckoutMode" c:type="OstreeRepoCheckoutMode">
- <source-position filename="ostree-repo.h" line="919"/>
+ <source-position filename="ostree-repo.h" line="917"/>
<member name="none"
value="0"
c:identifier="OSTREE_REPO_CHECKOUT_MODE_NONE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="913">No special options</doc>
+ line="911">No special options</doc>
</member>
<member name="user"
value="1"
c:identifier="OSTREE_REPO_CHECKOUT_MODE_USER">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="914">Ignore uid/gid of files</doc>
+ line="912">Ignore uid/gid of files</doc>
</member>
</enumeration>
<record name="RepoCheckoutOptions"
introspectable="0">
<doc xml:space="preserve"
filename="ostree-repo-deprecated.h"
- line="35">An extensible options structure controlling checkout. Ensure that
+ line="33">An extensible options structure controlling checkout. Ensure that
you have entirely zeroed the structure, then set just the desired
options. This is used by ostree_repo_checkout_tree_at() which
supercedes previous separate enumeration usage in
ostree_repo_checkout_tree().</doc>
- <source-position filename="ostree-repo-deprecated.h" line="60"/>
+ <source-position filename="ostree-repo-deprecated.h" line="58"/>
<field name="mode" writable="1">
<type name="RepoCheckoutMode" c:type="OstreeRepoCheckoutMode"/>
</field>
</record>
<enumeration name="RepoCheckoutOverwriteMode"
c:type="OstreeRepoCheckoutOverwriteMode">
- <source-position filename="ostree-repo.h" line="933"/>
+ <source-position filename="ostree-repo.h" line="931"/>
<member name="none"
value="0"
c:identifier="OSTREE_REPO_CHECKOUT_OVERWRITE_NONE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="923">No special options</doc>
+ line="921">No special options</doc>
</member>
<member name="union_files"
value="1"
c:identifier="OSTREE_REPO_CHECKOUT_OVERWRITE_UNION_FILES">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="924">When layering checkouts, unlink() and replace existing files, but do not modify existing directories (unless whiteouts are enabled, then directories are replaced)</doc>
+ line="922">When layering checkouts, unlink() and replace existing files, but do not modify existing directories (unless whiteouts are enabled, then directories are replaced)</doc>
</member>
<member name="add_files"
value="2"
c:identifier="OSTREE_REPO_CHECKOUT_OVERWRITE_ADD_FILES">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="925">Only add new files/directories</doc>
+ line="923">Only add new files/directories</doc>
</member>
<member name="union_identical"
value="3"
c:identifier="OSTREE_REPO_CHECKOUT_OVERWRITE_UNION_IDENTICAL">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="926">Like UNION_FILES, but error if files are not identical (requires hardlink checkouts)</doc>
+ line="924">Like UNION_FILES, but error if files are not identical (requires hardlink checkouts)</doc>
</member>
</enumeration>
<callback name="RepoCommitFilter" c:type="OstreeRepoCommitFilter">
- <source-position filename="ostree-repo.h" line="671"/>
+ <source-position filename="ostree-repo.h" line="669"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="669">#OstreeRepoCommitFilterResult saying whether or not to commit this file</doc>
+ line="667">#OstreeRepoCommitFilterResult saying whether or not to commit this file</doc>
<type name="RepoCommitFilterResult"
c:type="OstreeRepoCommitFilterResult"/>
</return-value>
<parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="664">Repo</doc>
+ line="662">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="665">Path to file</doc>
+ line="663">Path to file</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="file_info" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="666">File information</doc>
+ line="664">File information</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="user_data"
closure="3">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="667">User data</doc>
+ line="665">User data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<enumeration name="RepoCommitFilterResult"
c:type="OstreeRepoCommitFilterResult">
- <source-position filename="ostree-repo.h" line="660"/>
+ <source-position filename="ostree-repo.h" line="658"/>
<member name="allow"
value="0"
c:identifier="OSTREE_REPO_COMMIT_FILTER_ALLOW">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="654">Do commit this object</doc>
+ line="652">Do commit this object</doc>
</member>
<member name="skip"
value="1"
c:identifier="OSTREE_REPO_COMMIT_FILTER_SKIP">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="655">Ignore this object</doc>
+ line="653">Ignore this object</doc>
</member>
</enumeration>
<enumeration name="RepoCommitIterResult"
c:type="OstreeRepoCommitIterResult">
- <source-position filename="ostree-repo.h" line="1219"/>
+ <source-position filename="ostree-repo.h" line="1234"/>
<member name="error"
value="0"
c:identifier="OSTREE_REPO_COMMIT_ITER_RESULT_ERROR">
c:symbol-prefix="repo_commit_modifier">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="700">A structure allowing control over commits.</doc>
- <source-position filename="ostree-repo.h" line="705"/>
+ line="698">A structure allowing control over commits.</doc>
+ <source-position filename="ostree-repo.h" line="703"/>
<constructor name="new" c:identifier="ostree_repo_commit_modifier_new">
- <source-position filename="ostree-repo.h" line="708"/>
+ <source-position filename="ostree-repo.h" line="706"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4277">A new commit modifier.</doc>
+ line="4298">A new commit modifier.</doc>
<type name="RepoCommitModifier" c:type="OstreeRepoCommitModifier*"/>
</return-value>
<parameters>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4272">Control options for filter</doc>
+ line="4293">Control options for filter</doc>
<type name="RepoCommitModifierFlags"
c:type="OstreeRepoCommitModifierFlags"/>
</parameter>
destroy="3">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4273">Function that can inspect individual files</doc>
+ line="4294">Function that can inspect individual files</doc>
<type name="RepoCommitFilter" c:type="OstreeRepoCommitFilter"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4274">User data</doc>
+ line="4295">User data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
<parameter name="destroy_notify"
scope="async">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4275">A #GDestroyNotify</doc>
+ line="4296">A #GDestroyNotify</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
</parameters>
</constructor>
<method name="ref" c:identifier="ostree_repo_commit_modifier_ref">
- <source-position filename="ostree-repo.h" line="743"/>
+ <source-position filename="ostree-repo.h" line="741"/>
<return-value transfer-ownership="full">
<type name="RepoCommitModifier" c:type="OstreeRepoCommitModifier*"/>
</return-value>
version="2017.13">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4399">See the documentation for
+ line="4420">See the documentation for
`ostree_repo_devino_cache_new()`. This function can
then be used for later calls to
`ostree_repo_write_directory_to_mtree()` to optimize commits.
This function will add a reference to @cache without copying - you
should avoid further mutation of the cache.</doc>
- <source-position filename="ostree-repo.h" line="739"/>
+ <source-position filename="ostree-repo.h" line="737"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="modifier" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4401">Modifier</doc>
+ line="4422">Modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</instance-parameter>
<parameter name="cache" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4402">A hash table caching device,inode to checksums</doc>
+ line="4423">A hash table caching device,inode to checksums</doc>
<type name="RepoDevInoCache" c:type="OstreeRepoDevInoCache*"/>
</parameter>
</parameters>
c:identifier="ostree_repo_commit_modifier_set_sepolicy">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4349">If @policy is non-%NULL, use it to look up labels to use for
+ line="4370">If @policy is non-%NULL, use it to look up labels to use for
"security.selinux" extended attributes.
Note that any policy specified this way operates in addition to any
ostree_repo_commit_modifier_set_xattr_callback(). However if both
specify a value for "security.selinux", then the one from the
policy wins.</doc>
- <source-position filename="ostree-repo.h" line="728"/>
+ <source-position filename="ostree-repo.h" line="726"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="modifier" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4351">An #OstreeRepoCommitModifier</doc>
+ line="4372">An #OstreeRepoCommitModifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</instance-parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4352">Policy to use for labeling</doc>
+ line="4373">Policy to use for labeling</doc>
<type name="SePolicy" c:type="OstreeSePolicy*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4371">In many cases, one wants to create a "derived" commit from base commit.
+ line="4392">In many cases, one wants to create a "derived" commit from base commit.
SELinux policy labels are part of that base commit. This API allows
one to easily set up SELinux labeling from a base commit.</doc>
- <source-position filename="ostree-repo.h" line="732"/>
+ <source-position filename="ostree-repo.h" line="730"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="modifier" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4373">Commit modifier</doc>
+ line="4394">Commit modifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</instance-parameter>
<parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4374">OSTree repo containing @rev</doc>
+ line="4395">OSTree repo containing @rev</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="rev" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4375">Find SELinux policy from this base commit</doc>
+ line="4396">Find SELinux policy from this base commit</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
c:identifier="ostree_repo_commit_modifier_set_xattr_callback">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4326">If set, this function should return extended attributes to use for
+ line="4347">If set, this function should return extended attributes to use for
the given path. This is useful for things like ACLs and SELinux,
where a build system can label the files as it's committing to the
repository.</doc>
- <source-position filename="ostree-repo.h" line="722"/>
+ <source-position filename="ostree-repo.h" line="720"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="modifier" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4328">An #OstreeRepoCommitModifier</doc>
+ line="4349">An #OstreeRepoCommitModifier</doc>
<type name="RepoCommitModifier"
c:type="OstreeRepoCommitModifier*"/>
</instance-parameter>
destroy="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4329">Function to be invoked, should return extended attributes for path</doc>
+ line="4350">Function to be invoked, should return extended attributes for path</doc>
<type name="RepoCommitModifierXattrCallback"
c:type="OstreeRepoCommitModifierXattrCallback"/>
</parameter>
<parameter name="destroy" transfer-ownership="none" scope="async">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4330">Destroy notification</doc>
+ line="4351">Destroy notification</doc>
<type name="GLib.DestroyNotify" c:type="GDestroyNotify"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-commit.c"
- line="4331">Data for @callback:</doc>
+ line="4352">Data for @callback:</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</method>
<method name="unref" c:identifier="ostree_repo_commit_modifier_unref">
- <source-position filename="ostree-repo.h" line="745"/>
+ <source-position filename="ostree-repo.h" line="743"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
c:type="OstreeRepoCommitModifierFlags">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="676">Flags modifying commit behavior. In bare-user-only mode, @OSTREE_REPO_COMMIT_MODIFIER_FLAGS_CANONICAL_PERMISSIONS
+ line="674">Flags modifying commit behavior. In bare-user-only mode, @OSTREE_REPO_COMMIT_MODIFIER_FLAGS_CANONICAL_PERMISSIONS
and @OSTREE_REPO_COMMIT_MODIFIER_FLAGS_SKIP_XATTRS are automatically enabled.</doc>
- <source-position filename="ostree-repo.h" line="698"/>
+ <source-position filename="ostree-repo.h" line="696"/>
<member name="none"
value="0"
c:identifier="OSTREE_REPO_COMMIT_MODIFIER_FLAGS_NONE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="678">No special flags</doc>
+ line="676">No special flags</doc>
</member>
<member name="skip_xattrs"
value="1"
c:identifier="OSTREE_REPO_COMMIT_MODIFIER_FLAGS_SKIP_XATTRS">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="679">Do not process extended attributes</doc>
+ line="677">Do not process extended attributes</doc>
</member>
<member name="generate_sizes"
value="2"
c:identifier="OSTREE_REPO_COMMIT_MODIFIER_FLAGS_GENERATE_SIZES">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="680">Generate size information.</doc>
+ line="678">Generate size information.</doc>
</member>
<member name="canonical_permissions"
value="4"
c:identifier="OSTREE_REPO_COMMIT_MODIFIER_FLAGS_CANONICAL_PERMISSIONS">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="681">Canonicalize permissions.</doc>
+ line="679">Canonicalize permissions.</doc>
</member>
<member name="error_on_unlabeled"
value="8"
c:identifier="OSTREE_REPO_COMMIT_MODIFIER_FLAGS_ERROR_ON_UNLABELED">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="682">Emit an error if configured SELinux policy does not provide a label</doc>
+ line="680">Emit an error if configured SELinux policy does not provide a label</doc>
</member>
<member name="consume"
value="16"
c:identifier="OSTREE_REPO_COMMIT_MODIFIER_FLAGS_CONSUME">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="683">Delete added files/directories after commit; Since: 2017.13</doc>
+ line="681">Delete added files/directories after commit; Since: 2017.13</doc>
</member>
<member name="devino_canonical"
value="32"
c:identifier="OSTREE_REPO_COMMIT_MODIFIER_FLAGS_DEVINO_CANONICAL">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="684">If a devino cache hit is found, skip modifier filters (non-directories only); Since: 2017.14</doc>
+ line="682">If a devino cache hit is found, skip modifier filters (non-directories only); Since: 2017.14</doc>
</member>
</bitfield>
<callback name="RepoCommitModifierXattrCallback"
c:type="OstreeRepoCommitModifierXattrCallback">
- <source-position filename="ostree-repo.h" line="716"/>
+ <source-position filename="ostree-repo.h" line="714"/>
<return-value transfer-ownership="full">
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
c:type="OstreeRepoCommitState">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="252">Flags representing the state of a commit in the local repository, as returned
+ line="250">Flags representing the state of a commit in the local repository, as returned
by ostree_repo_load_commit().</doc>
- <source-position filename="ostree-repo.h" line="270"/>
+ <source-position filename="ostree-repo.h" line="268"/>
<member name="normal"
value="0"
c:identifier="OSTREE_REPO_COMMIT_STATE_NORMAL">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="254">Commit is complete. This is the default.
+ line="252">Commit is complete. This is the default.
(Since: 2017.14.)</doc>
</member>
<member name="partial"
c:identifier="OSTREE_REPO_COMMIT_STATE_PARTIAL">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="256">One or more objects are missing from the
+ line="254">One or more objects are missing from the
local copy of the commit, but metadata is present. (Since: 2015.7.)</doc>
</member>
<member name="fsck_partial"
c:identifier="OSTREE_REPO_COMMIT_STATE_FSCK_PARTIAL">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="258">One or more objects are missing from the
+ line="256">One or more objects are missing from the
local copy of the commit, due to an fsck --delete. (Since: 2019.4.)</doc>
</member>
</bitfield>
<bitfield name="RepoCommitTraverseFlags"
c:type="OstreeRepoCommitTraverseFlags">
- <source-position filename="ostree-repo.h" line="1196"/>
- <member name="repo_commit_traverse_flag_none"
+ <source-position filename="ostree-repo.h" line="1129"/>
+ <member name="none"
value="1"
c:identifier="OSTREE_REPO_COMMIT_TRAVERSE_FLAG_NONE">
+ <doc xml:space="preserve"
+ filename="ostree-repo.h"
+ line="1123">No special options for traverse</doc>
+ </member>
+ <member name="commit_only"
+ value="2"
+ c:identifier="OSTREE_REPO_COMMIT_TRAVERSE_FLAG_COMMIT_ONLY">
+ <doc xml:space="preserve"
+ filename="ostree-repo.h"
+ line="1124">Traverse and retrieve only commit objects. (Since: 2022.2)</doc>
</member>
</bitfield>
<record name="RepoCommitTraverseIter"
c:type="OstreeRepoCommitTraverseIter">
- <source-position filename="ostree-repo.h" line="1190"/>
+ <source-position filename="ostree-repo.h" line="1209"/>
<field name="initialized" writable="1">
<type name="gboolean" c:type="gboolean"/>
</field>
</field>
<method name="clear"
c:identifier="ostree_repo_commit_traverse_iter_clear">
- <source-position filename="ostree-repo.h" line="1238"/>
+ <source-position filename="ostree-repo.h" line="1253"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
c:identifier="ostree_repo_commit_traverse_iter_get_dir">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="235">Return information on the current directory. This function may
+ line="233">Return information on the current directory. This function may
only be called if %OSTREE_REPO_COMMIT_ITER_RESULT_DIR was returned
from ostree_repo_commit_traverse_iter_next().</doc>
- <source-position filename="ostree-repo.h" line="1232"/>
+ <source-position filename="ostree-repo.h" line="1247"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="iter" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="237">An iter</doc>
+ line="235">An iter</doc>
<type name="RepoCommitTraverseIter"
c:type="OstreeRepoCommitTraverseIter*"/>
</instance-parameter>
transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="238">Name of current dir</doc>
+ line="236">Name of current dir</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="out_content_checksum"
transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="239">Checksum of current content</doc>
+ line="237">Checksum of current content</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="out_meta_checksum"
transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="240">Checksum of current metadata</doc>
+ line="238">Checksum of current metadata</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
c:identifier="ostree_repo_commit_traverse_iter_get_file">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="214">Return information on the current file. This function may only be
+ line="212">Return information on the current file. This function may only be
called if %OSTREE_REPO_COMMIT_ITER_RESULT_FILE was returned from
ostree_repo_commit_traverse_iter_next().</doc>
- <source-position filename="ostree-repo.h" line="1227"/>
+ <source-position filename="ostree-repo.h" line="1242"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="iter" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="216">An iter</doc>
+ line="214">An iter</doc>
<type name="RepoCommitTraverseIter"
c:type="OstreeRepoCommitTraverseIter*"/>
</instance-parameter>
transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="217">Name of current file</doc>
+ line="215">Name of current file</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="out_checksum"
transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="218">Checksum of current file</doc>
+ line="216">Checksum of current file</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="42">Initialize (in place) an iterator over the root of a commit object.</doc>
- <source-position filename="ostree-repo.h" line="1200"/>
+ line="40">Initialize (in place) an iterator over the root of a commit object.</doc>
+ <source-position filename="ostree-repo.h" line="1215"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="iter" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="44">An iter</doc>
+ line="42">An iter</doc>
<type name="RepoCommitTraverseIter"
c:type="OstreeRepoCommitTraverseIter*"/>
</instance-parameter>
<parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="45">A repo</doc>
+ line="43">A repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="commit" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="46">Variant of type %OSTREE_OBJECT_TYPE_COMMIT</doc>
+ line="44">Variant of type %OSTREE_OBJECT_TYPE_COMMIT</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="47">Flags</doc>
+ line="45">Flags</doc>
<type name="RepoCommitTraverseFlags"
c:type="OstreeRepoCommitTraverseFlags"/>
</parameter>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="86">Initialize (in place) an iterator over a directory tree.</doc>
- <source-position filename="ostree-repo.h" line="1208"/>
+ line="84">Initialize (in place) an iterator over a directory tree.</doc>
+ <source-position filename="ostree-repo.h" line="1223"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="iter" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="88">An iter</doc>
+ line="86">An iter</doc>
<type name="RepoCommitTraverseIter"
c:type="OstreeRepoCommitTraverseIter*"/>
</instance-parameter>
<parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="89">A repo</doc>
+ line="87">A repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="dirtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="90">Variant of type %OSTREE_OBJECT_TYPE_DIR_TREE</doc>
+ line="88">Variant of type %OSTREE_OBJECT_TYPE_DIR_TREE</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="91">Flags</doc>
+ line="89">Flags</doc>
<type name="RepoCommitTraverseFlags"
c:type="OstreeRepoCommitTraverseFlags"/>
</parameter>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="115">Step the interator to the next item. Files will be returned first,
+ line="113">Step the interator to the next item. Files will be returned first,
then subdirectories. Call this in a loop; upon encountering
%OSTREE_REPO_COMMIT_ITER_RESULT_END, there will be no more files or
directories. If %OSTREE_REPO_COMMIT_ITER_RESULT_DIR is returned,
If %OSTREE_REPO_COMMIT_ITER_RESULT_ERROR is returned, it is a
program error to call any further API on @iter except for
ostree_repo_commit_traverse_iter_clear().</doc>
- <source-position filename="ostree-repo.h" line="1222"/>
+ <source-position filename="ostree-repo.h" line="1237"/>
<return-value transfer-ownership="none">
<type name="RepoCommitIterResult"
c:type="OstreeRepoCommitIterResult"/>
<instance-parameter name="iter" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="117">An iter</doc>
+ line="115">An iter</doc>
<type name="RepoCommitTraverseIter"
c:type="OstreeRepoCommitTraverseIter*"/>
</instance-parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-traverse.c"
- line="118">Cancellable</doc>
+ line="116">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</method>
<function name="cleanup"
c:identifier="ostree_repo_commit_traverse_iter_cleanup">
- <source-position filename="ostree-repo.h" line="1241"/>
+ <source-position filename="ostree-repo.h" line="1256"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
glib:type-name="OstreeRepoDevInoCache"
glib:get-type="ostree_repo_devino_cache_get_type"
c:symbol-prefix="repo_devino_cache">
- <source-position filename="ostree-types.h" line="35"/>
+ <source-position filename="ostree-types.h" line="33"/>
<constructor name="new" c:identifier="ostree_repo_devino_cache_new">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1449">OSTree has support for pairing ostree_repo_checkout_tree_at() using
+ line="1447">OSTree has support for pairing ostree_repo_checkout_tree_at() using
hardlinks in combination with a later
ostree_repo_write_directory_to_mtree() using a (normally modified)
directory. In order for OSTree to optimally detect just the new
files, use this function and fill in the `devino_to_csum_cache`
member of `OstreeRepoCheckoutAtOptions`, then call
ostree_repo_commit_set_devino_cache().</doc>
- <source-position filename="ostree-repo.h" line="1012"/>
+ <source-position filename="ostree-repo.h" line="1010"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-checkout.c"
- line="1460">Newly allocated cache</doc>
+ line="1458">Newly allocated cache</doc>
<type name="RepoDevInoCache" c:type="OstreeRepoDevInoCache*"/>
</return-value>
</constructor>
<method name="ref" c:identifier="ostree_repo_devino_cache_ref">
- <source-position filename="ostree-repo.h" line="1014"/>
+ <source-position filename="ostree-repo.h" line="1012"/>
<return-value transfer-ownership="full">
<type name="RepoDevInoCache" c:type="OstreeRepoDevInoCache*"/>
</return-value>
</parameters>
</method>
<method name="unref" c:identifier="ostree_repo_devino_cache_unref">
- <source-position filename="ostree-repo.h" line="1016"/>
+ <source-position filename="ostree-repo.h" line="1014"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="838">An extensible options structure controlling archive creation. Ensure that
+ line="836">An extensible options structure controlling archive creation. Ensure that
you have entirely zeroed the structure, then set just the desired
options. This is used by ostree_repo_export_tree_to_archive().</doc>
- <source-position filename="ostree-repo.h" line="857"/>
+ <source-position filename="ostree-repo.h" line="855"/>
<field name="disable_xattrs" writable="1" bits="1">
<type name="guint" c:type="guint"/>
</field>
glib:type-name="OstreeRepoFile"
glib:get-type="ostree_repo_file_get_type"
glib:type-struct="RepoFileClass">
- <source-position filename="ostree-repo-file.h" line="42"/>
+ <source-position filename="ostree-repo-file.h" line="40"/>
<implements name="Gio.File"/>
<method name="ensure_resolved"
c:identifier="ostree_repo_file_ensure_resolved"
throws="1">
- <source-position filename="ostree-repo-file.h" line="48"/>
+ <source-position filename="ostree-repo-file.h" line="46"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
</parameters>
</method>
<method name="get_checksum" c:identifier="ostree_repo_file_get_checksum">
- <source-position filename="ostree-repo-file.h" line="78"/>
+ <source-position filename="ostree-repo-file.h" line="76"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</return-value>
</parameters>
</method>
<method name="get_repo" c:identifier="ostree_repo_file_get_repo">
- <source-position filename="ostree-repo-file.h" line="58"/>
+ <source-position filename="ostree-repo-file.h" line="56"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-file.c"
- line="364">Repository</doc>
+ line="362">Repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
<parameters>
</parameters>
</method>
<method name="get_root" c:identifier="ostree_repo_file_get_root">
- <source-position filename="ostree-repo-file.h" line="60"/>
+ <source-position filename="ostree-repo-file.h" line="58"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-file.c"
- line="376">The root directory for the commit referenced by this file</doc>
+ line="374">The root directory for the commit referenced by this file</doc>
<type name="RepoFile" c:type="OstreeRepoFile*"/>
</return-value>
<parameters>
<method name="get_xattrs"
c:identifier="ostree_repo_file_get_xattrs"
throws="1">
- <source-position filename="ostree-repo-file.h" line="52"/>
+ <source-position filename="ostree-repo-file.h" line="50"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-file.c"
- line="297">#OstreeRepoFile</doc>
+ line="295">#OstreeRepoFile</doc>
<type name="RepoFile" c:type="OstreeRepoFile*"/>
</instance-parameter>
<parameter name="out_xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-file.c"
- line="298">the extended attributes</doc>
+ line="296">the extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-file.c"
- line="299">Cancellable</doc>
+ line="297">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</method>
<method name="tree_find_child"
c:identifier="ostree_repo_file_tree_find_child">
- <source-position filename="ostree-repo-file.h" line="81"/>
+ <source-position filename="ostree-repo-file.h" line="79"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-file.c"
- line="736">#OstreeRepoFile</doc>
+ line="734">#OstreeRepoFile</doc>
<type name="RepoFile" c:type="OstreeRepoFile*"/>
</instance-parameter>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-file.c"
- line="737">name of the child</doc>
+ line="735">name of the child</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="is_dir"
</method>
<method name="tree_get_contents"
c:identifier="ostree_repo_file_tree_get_contents">
- <source-position filename="ostree-repo-file.h" line="73"/>
+ <source-position filename="ostree-repo-file.h" line="71"/>
<return-value transfer-ownership="full">
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
</method>
<method name="tree_get_contents_checksum"
c:identifier="ostree_repo_file_tree_get_contents_checksum">
- <source-position filename="ostree-repo-file.h" line="68"/>
+ <source-position filename="ostree-repo-file.h" line="66"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</return-value>
</method>
<method name="tree_get_metadata"
c:identifier="ostree_repo_file_tree_get_metadata">
- <source-position filename="ostree-repo-file.h" line="75"/>
+ <source-position filename="ostree-repo-file.h" line="73"/>
<return-value transfer-ownership="full">
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
</method>
<method name="tree_get_metadata_checksum"
c:identifier="ostree_repo_file_tree_get_metadata_checksum">
- <source-position filename="ostree-repo-file.h" line="70"/>
+ <source-position filename="ostree-repo-file.h" line="68"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</return-value>
<method name="tree_query_child"
c:identifier="ostree_repo_file_tree_query_child"
throws="1">
- <source-position filename="ostree-repo-file.h" line="87"/>
+ <source-position filename="ostree-repo-file.h" line="85"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-file.c"
- line="788">#OstreeRepoFile</doc>
+ line="786">#OstreeRepoFile</doc>
<type name="RepoFile" c:type="OstreeRepoFile*"/>
</instance-parameter>
<parameter name="n" transfer-ownership="none">
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-file.c"
- line="793">Cancellable</doc>
+ line="791">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</method>
<method name="tree_set_metadata"
c:identifier="ostree_repo_file_tree_set_metadata">
- <source-position filename="ostree-repo-file.h" line="63"/>
+ <source-position filename="ostree-repo-file.h" line="61"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<record name="RepoFileClass"
c:type="OstreeRepoFileClass"
glib:is-gtype-struct-for="RepoFile">
- <source-position filename="ostree-repo-file.h" line="42"/>
+ <source-position filename="ostree-repo-file.h" line="40"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<record name="RepoFileEnumerator"
c:type="OstreeRepoFileEnumerator"
disguised="1">
- <source-position filename="ostree-repo-file-enumerator.h" line="37"/>
+ <source-position filename="ostree-repo-file-enumerator.h" line="35"/>
</record>
<record name="RepoFileEnumeratorClass"
c:type="OstreeRepoFileEnumeratorClass">
- <source-position filename="ostree-repo-file-enumerator.h" line="43"/>
+ <source-position filename="ostree-repo-file-enumerator.h" line="41"/>
<field name="parent_class" writable="1">
<type name="Gio.FileEnumeratorClass" c:type="GFileEnumeratorClass"/>
</field>
glib:type-name="OstreeRepoFinder"
glib:get-type="ostree_repo_finder_get_type"
glib:type-struct="RepoFinderInterface">
- <source-position filename="ostree-repo-finder.h" line="67"/>
+ <source-position filename="ostree-repo-finder.h" line="65"/>
<function name="resolve_all_async"
c:identifier="ostree_repo_finder_resolve_all_async"
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="245">A version of ostree_repo_finder_resolve_async() which queries one or more
+ line="243">A version of ostree_repo_finder_resolve_async() which queries one or more
@finders in parallel and combines the results.</doc>
- <source-position filename="ostree-repo-finder.h" line="82"/>
+ <source-position filename="ostree-repo-finder.h" line="80"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="finders" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="247">non-empty array of #OstreeRepoFinders</doc>
+ line="245">non-empty array of #OstreeRepoFinders</doc>
<array c:type="OstreeRepoFinder* const*">
<type name="RepoFinder" c:type="OstreeRepoFinder*"/>
</array>
<parameter name="refs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="248">non-empty array of collection–ref pairs to find remotes for</doc>
+ line="246">non-empty array of collection–ref pairs to find remotes for</doc>
<array c:type="const OstreeCollectionRef* const*">
<type name="CollectionRef" c:type="OstreeCollectionRef*"/>
</array>
<parameter name="parent_repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="249">the local repository which the refs are being resolved for,
+ line="247">the local repository which the refs are being resolved for,
which provides configuration information and GPG keys</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="251">a #GCancellable, or %NULL</doc>
+ line="249">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="5">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="252">asynchronous completion callback</doc>
+ line="250">asynchronous completion callback</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="253">data to pass to @callback</doc>
+ line="251">data to pass to @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="406">Get the results from a ostree_repo_finder_resolve_all_async() operation.</doc>
- <source-position filename="ostree-repo-finder.h" line="89"/>
+ line="404">Get the results from a ostree_repo_finder_resolve_all_async() operation.</doc>
+ <source-position filename="ostree-repo-finder.h" line="87"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="413">array of zero
+ line="411">array of zero
or more results</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="RepoFinderResult"/>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="408">#GAsyncResult from the callback</doc>
+ line="406">#GAsyncResult from the callback</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="109">Find reachable remote URIs which claim to provide any of the given @refs. The
+ line="107">Find reachable remote URIs which claim to provide any of the given @refs. The
specific method for finding the remotes depends on the #OstreeRepoFinder
implementation.
Pass the results to ostree_repo_pull_from_remotes_async() to pull the given
@refs from those remotes.</doc>
- <source-position filename="ostree-repo-finder.h" line="58"/>
+ <source-position filename="ostree-repo-finder.h" line="56"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="111">an #OstreeRepoFinder</doc>
+ line="109">an #OstreeRepoFinder</doc>
<type name="RepoFinder" c:type="OstreeRepoFinder*"/>
</instance-parameter>
<parameter name="refs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="112">non-empty array of collection–ref pairs to find remotes for</doc>
+ line="110">non-empty array of collection–ref pairs to find remotes for</doc>
<array c:type="const OstreeCollectionRef* const*">
<type name="CollectionRef" c:type="OstreeCollectionRef*"/>
</array>
<parameter name="parent_repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="113">the local repository which the refs are being resolved for,
+ line="111">the local repository which the refs are being resolved for,
which provides configuration information and GPG keys</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="115">a #GCancellable, or %NULL</doc>
+ line="113">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="4">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="116">asynchronous completion callback</doc>
+ line="114">asynchronous completion callback</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
closure="4">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="117">data to pass to @callback</doc>
+ line="115">data to pass to @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="190">Get the results from a ostree_repo_finder_resolve_async() operation.</doc>
- <source-position filename="ostree-repo-finder.h" line="64"/>
+ line="188">Get the results from a ostree_repo_finder_resolve_async() operation.</doc>
+ <source-position filename="ostree-repo-finder.h" line="62"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="198">array of zero
+ line="196">array of zero
or more results</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="RepoFinderResult"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="192">an #OstreeRepoFinder</doc>
+ line="190">an #OstreeRepoFinder</doc>
<type name="RepoFinder" c:type="OstreeRepoFinder*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="193">#GAsyncResult from the callback</doc>
+ line="191">#GAsyncResult from the callback</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="109">Find reachable remote URIs which claim to provide any of the given @refs. The
+ line="107">Find reachable remote URIs which claim to provide any of the given @refs. The
specific method for finding the remotes depends on the #OstreeRepoFinder
implementation.
Pass the results to ostree_repo_pull_from_remotes_async() to pull the given
@refs from those remotes.</doc>
- <source-position filename="ostree-repo-finder.h" line="70"/>
+ <source-position filename="ostree-repo-finder.h" line="68"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="111">an #OstreeRepoFinder</doc>
+ line="109">an #OstreeRepoFinder</doc>
<type name="RepoFinder" c:type="OstreeRepoFinder*"/>
</instance-parameter>
<parameter name="refs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="112">non-empty array of collection–ref pairs to find remotes for</doc>
+ line="110">non-empty array of collection–ref pairs to find remotes for</doc>
<array c:type="const OstreeCollectionRef* const*">
<type name="CollectionRef" c:type="OstreeCollectionRef*"/>
</array>
<parameter name="parent_repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="113">the local repository which the refs are being resolved for,
+ line="111">the local repository which the refs are being resolved for,
which provides configuration information and GPG keys</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="115">a #GCancellable, or %NULL</doc>
+ line="113">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="4">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="116">asynchronous completion callback</doc>
+ line="114">asynchronous completion callback</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="117">data to pass to @callback</doc>
+ line="115">data to pass to @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="190">Get the results from a ostree_repo_finder_resolve_async() operation.</doc>
- <source-position filename="ostree-repo-finder.h" line="77"/>
+ line="188">Get the results from a ostree_repo_finder_resolve_async() operation.</doc>
+ <source-position filename="ostree-repo-finder.h" line="75"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="198">array of zero
+ line="196">array of zero
or more results</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="RepoFinderResult"/>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="192">an #OstreeRepoFinder</doc>
+ line="190">an #OstreeRepoFinder</doc>
<type name="RepoFinder" c:type="OstreeRepoFinder*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="193">#GAsyncResult from the callback</doc>
+ line="191">#GAsyncResult from the callback</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
glib:type-name="OstreeRepoFinderAvahi"
glib:get-type="ostree_repo_finder_avahi_get_type"
glib:type-struct="RepoFinderAvahiClass">
- <source-position filename="ostree-repo-finder-avahi.h" line="47"/>
+ <source-position filename="ostree-repo-finder-avahi.h" line="45"/>
<implements name="RepoFinder"/>
<constructor name="new"
c:identifier="ostree_repo_finder_avahi_new"
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-finder-avahi.c"
- line="1360">Create a new #OstreeRepoFinderAvahi instance. It is intended that one such
+ line="1358">Create a new #OstreeRepoFinderAvahi instance. It is intended that one such
instance be created per process, and it be used to answer all resolution
requests from #OstreeRepos.
is called). This may be done from any thread.
If @context is %NULL, the current thread-default #GMainContext is used.</doc>
- <source-position filename="ostree-repo-finder-avahi.h" line="54"/>
+ <source-position filename="ostree-repo-finder-avahi.h" line="52"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-finder-avahi.c"
- line="1375">a new #OstreeRepoFinderAvahi</doc>
+ line="1373">a new #OstreeRepoFinderAvahi</doc>
<type name="RepoFinderAvahi" c:type="OstreeRepoFinderAvahi*"/>
</return-value>
<parameters>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-finder-avahi.c"
- line="1362">a #GMainContext for processing Avahi
+ line="1360">a #GMainContext for processing Avahi
events in, or %NULL to use the current thread-default</doc>
<type name="GLib.MainContext" c:type="GMainContext*"/>
</parameter>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-finder-avahi.c"
- line="1403">Start monitoring the local network for peers who are advertising OSTree
+ line="1401">Start monitoring the local network for peers who are advertising OSTree
repositories, using Avahi. In order for this to work, the #GMainContext
passed to @self at construction time must be iterated (so it will typically
be the global #GMainContext, or be a separate #GMainContext in a worker
It is an error to call this function multiple times on the same
#OstreeRepoFinderAvahi instance, or to call it after
ostree_repo_finder_avahi_stop().</doc>
- <source-position filename="ostree-repo-finder-avahi.h" line="57"/>
+ <source-position filename="ostree-repo-finder-avahi.h" line="55"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder-avahi.c"
- line="1405">an #OstreeRepoFinderAvahi</doc>
+ line="1403">an #OstreeRepoFinderAvahi</doc>
<type name="RepoFinderAvahi" c:type="OstreeRepoFinderAvahi*"/>
</instance-parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-finder-avahi.c"
- line="1492">Stop monitoring the local network for peers who are advertising OSTree
+ line="1490">Stop monitoring the local network for peers who are advertising OSTree
repositories. If any resolve tasks (from ostree_repo_finder_resolve_async())
are in progress, they will be cancelled and will return %G_IO_ERROR_CANCELLED.
It is an error to call this function multiple times on the same
#OstreeRepoFinderAvahi instance, or to call it before
ostree_repo_finder_avahi_start().</doc>
- <source-position filename="ostree-repo-finder-avahi.h" line="61"/>
+ <source-position filename="ostree-repo-finder-avahi.h" line="59"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder-avahi.c"
- line="1494">an #OstreeRepoFinderAvahi</doc>
+ line="1492">an #OstreeRepoFinderAvahi</doc>
<type name="RepoFinderAvahi" c:type="OstreeRepoFinderAvahi*"/>
</instance-parameter>
</parameters>
<record name="RepoFinderAvahiClass"
c:type="OstreeRepoFinderAvahiClass"
glib:is-gtype-struct-for="RepoFinderAvahi">
- <source-position filename="ostree-repo-finder-avahi.h" line="47"/>
+ <source-position filename="ostree-repo-finder-avahi.h" line="45"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
glib:type-name="OstreeRepoFinderConfig"
glib:get-type="ostree_repo_finder_config_get_type"
glib:type-struct="RepoFinderConfigClass">
- <source-position filename="ostree-repo-finder-config.h" line="47"/>
+ <source-position filename="ostree-repo-finder-config.h" line="45"/>
<implements name="RepoFinder"/>
<constructor name="new"
c:identifier="ostree_repo_finder_config_new"
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-finder-config.c"
- line="231">Create a new #OstreeRepoFinderConfig.</doc>
- <source-position filename="ostree-repo-finder-config.h" line="54"/>
+ line="229">Create a new #OstreeRepoFinderConfig.</doc>
+ <source-position filename="ostree-repo-finder-config.h" line="52"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-finder-config.c"
- line="236">a new #OstreeRepoFinderConfig</doc>
+ line="234">a new #OstreeRepoFinderConfig</doc>
<type name="RepoFinderConfig" c:type="OstreeRepoFinderConfig*"/>
</return-value>
</constructor>
<record name="RepoFinderConfigClass"
c:type="OstreeRepoFinderConfigClass"
glib:is-gtype-struct-for="RepoFinderConfig">
- <source-position filename="ostree-repo-finder-config.h" line="47"/>
+ <source-position filename="ostree-repo-finder-config.h" line="45"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<record name="RepoFinderInterface"
c:type="OstreeRepoFinderInterface"
glib:is-gtype-struct-for="RepoFinder">
- <source-position filename="ostree-repo-finder.h" line="67"/>
+ <source-position filename="ostree-repo-finder.h" line="65"/>
<field name="g_iface">
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
</field>
<field name="resolve_async">
<callback name="resolve_async">
- <source-position filename="ostree-repo-finder.h" line="58"/>
+ <source-position filename="ostree-repo-finder.h" line="56"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="111">an #OstreeRepoFinder</doc>
+ line="109">an #OstreeRepoFinder</doc>
<type name="RepoFinder" c:type="OstreeRepoFinder*"/>
</parameter>
<parameter name="refs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="112">non-empty array of collection–ref pairs to find remotes for</doc>
+ line="110">non-empty array of collection–ref pairs to find remotes for</doc>
<array c:type="const OstreeCollectionRef* const*">
<type name="CollectionRef" c:type="OstreeCollectionRef*"/>
</array>
<parameter name="parent_repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="113">the local repository which the refs are being resolved for,
+ line="111">the local repository which the refs are being resolved for,
which provides configuration information and GPG keys</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="115">a #GCancellable, or %NULL</doc>
+ line="113">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="5">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="116">asynchronous completion callback</doc>
+ line="114">asynchronous completion callback</doc>
<type name="Gio.AsyncReadyCallback"
c:type="GAsyncReadyCallback"/>
</parameter>
closure="5">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="117">data to pass to @callback</doc>
+ line="115">data to pass to @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</field>
<field name="resolve_finish">
<callback name="resolve_finish" throws="1">
- <source-position filename="ostree-repo-finder.h" line="64"/>
+ <source-position filename="ostree-repo-finder.h" line="62"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="198">array of zero
+ line="196">array of zero
or more results</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="RepoFinderResult"/>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="192">an #OstreeRepoFinder</doc>
+ line="190">an #OstreeRepoFinder</doc>
<type name="RepoFinder" c:type="OstreeRepoFinder*"/>
</parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="193">#GAsyncResult from the callback</doc>
+ line="191">#GAsyncResult from the callback</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
glib:type-name="OstreeRepoFinderMount"
glib:get-type="ostree_repo_finder_mount_get_type"
glib:type-struct="RepoFinderMountClass">
- <source-position filename="ostree-repo-finder-mount.h" line="47"/>
+ <source-position filename="ostree-repo-finder-mount.h" line="45"/>
<implements name="RepoFinder"/>
<constructor name="new"
c:identifier="ostree_repo_finder_mount_new"
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-finder-mount.c"
- line="673">Create a new #OstreeRepoFinderMount, using the given @monitor to look up
+ line="671">Create a new #OstreeRepoFinderMount, using the given @monitor to look up
volumes. If @monitor is %NULL, the monitor from g_volume_monitor_get() will
be used.</doc>
- <source-position filename="ostree-repo-finder-mount.h" line="54"/>
+ <source-position filename="ostree-repo-finder-mount.h" line="52"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-finder-mount.c"
- line="682">a new #OstreeRepoFinderMount</doc>
+ line="680">a new #OstreeRepoFinderMount</doc>
<type name="RepoFinderMount" c:type="OstreeRepoFinderMount*"/>
</return-value>
<parameters>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-finder-mount.c"
- line="675">volume monitor to use, or %NULL to use
+ line="673">volume monitor to use, or %NULL to use
the system default</doc>
<type name="Gio.VolumeMonitor" c:type="GVolumeMonitor*"/>
</parameter>
transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder-mount.c"
- line="647">Volume monitor to use to look up mounted volumes when queried.</doc>
+ line="645">Volume monitor to use to look up mounted volumes when queried.</doc>
<type name="Gio.VolumeMonitor"/>
</property>
</class>
<record name="RepoFinderMountClass"
c:type="OstreeRepoFinderMountClass"
glib:is-gtype-struct-for="RepoFinderMount">
- <source-position filename="ostree-repo-finder-mount.h" line="47"/>
+ <source-position filename="ostree-repo-finder-mount.h" line="45"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
glib:type-name="OstreeRepoFinderOverride"
glib:get-type="ostree_repo_finder_override_get_type"
glib:type-struct="RepoFinderOverrideClass">
- <source-position filename="ostree-repo-finder-override.h" line="47"/>
+ <source-position filename="ostree-repo-finder-override.h" line="45"/>
<implements name="RepoFinder"/>
<constructor name="new"
c:identifier="ostree_repo_finder_override_new"
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-finder-override.c"
- line="293">Create a new #OstreeRepoFinderOverride.</doc>
- <source-position filename="ostree-repo-finder-override.h" line="54"/>
+ line="291">Create a new #OstreeRepoFinderOverride.</doc>
+ <source-position filename="ostree-repo-finder-override.h" line="52"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-finder-override.c"
- line="298">a new #OstreeRepoFinderOverride</doc>
+ line="296">a new #OstreeRepoFinderOverride</doc>
<type name="RepoFinderOverride" c:type="OstreeRepoFinderOverride*"/>
</return-value>
</constructor>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-finder-override.c"
- line="307">Add the given @uri to the set of URIs which the repo finder will search for
+ line="305">Add the given @uri to the set of URIs which the repo finder will search for
matching refs when ostree_repo_finder_resolve_async() is called on it.</doc>
- <source-position filename="ostree-repo-finder-override.h" line="57"/>
+ <source-position filename="ostree-repo-finder-override.h" line="55"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="uri" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder-override.c"
- line="309">URI to add to the repo finder</doc>
+ line="307">URI to add to the repo finder</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
<record name="RepoFinderOverrideClass"
c:type="OstreeRepoFinderOverrideClass"
glib:is-gtype-struct-for="RepoFinderOverride">
- <source-position filename="ostree-repo-finder-override.h" line="47"/>
+ <source-position filename="ostree-repo-finder-override.h" line="45"/>
<field name="parent_class">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
c:symbol-prefix="repo_finder_result">
<doc xml:space="preserve"
filename="ostree-repo-finder.h"
- line="92">#OstreeRepoFinderResult gives a single result from an
+ line="90">#OstreeRepoFinderResult gives a single result from an
ostree_repo_finder_resolve_async() or ostree_repo_finder_resolve_all_async()
operation. This represents a single remote which provides none, some or all
of the refs being resolved. The structure includes various bits of metadata
(1) the override-commit-ids option was used on
ostree_repo_find_remotes_async (2) there was an error in trying to get the
commit metadata (3) the checksum for this ref is %NULL in @ref_to_checksum.</doc>
- <source-position filename="ostree-repo-finder.h" line="151"/>
+ <source-position filename="ostree-repo-finder.h" line="149"/>
<field name="remote" writable="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.h"
- line="94">#OstreeRemote which contains the transport details for the result,
+ line="92">#OstreeRemote which contains the transport details for the result,
such as its URI and GPG key</doc>
<type name="Remote" c:type="OstreeRemote*"/>
</field>
<field name="finder" writable="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.h"
- line="96">the #OstreeRepoFinder instance which produced this result</doc>
+ line="94">the #OstreeRepoFinder instance which produced this result</doc>
<type name="RepoFinder" c:type="OstreeRepoFinder*"/>
</field>
<field name="priority" writable="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.h"
- line="97">static priority of the result, where higher numbers indicate lower
+ line="95">static priority of the result, where higher numbers indicate lower
priority</doc>
<type name="gint" c:type="gint"/>
</field>
<field name="ref_to_checksum" writable="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.h"
- line="99">map of collection–ref
+ line="97">map of collection–ref
pairs to checksums provided by this remote; values may be %NULL to
indicate this remote doesn’t provide that ref</doc>
<type name="GLib.HashTable" c:type="GHashTable*">
<field name="summary_last_modified" writable="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.h"
- line="104">Unix timestamp (seconds since the epoch, UTC) when
+ line="102">Unix timestamp (seconds since the epoch, UTC) when
the summary file on the remote was last modified, or `0` if unknown</doc>
<type name="guint64" c:type="guint64"/>
</field>
<field name="ref_to_timestamp" writable="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.h"
- line="102">map of
+ line="100">map of
collection–ref pairs to timestamps; values may be 0 for various reasons</doc>
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="CollectionRef"/>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="430">Create a new #OstreeRepoFinderResult instance. The semantics for the arguments
+ line="428">Create a new #OstreeRepoFinderResult instance. The semantics for the arguments
are as described in the #OstreeRepoFinderResult documentation.</doc>
- <source-position filename="ostree-repo-finder.h" line="157"/>
+ <source-position filename="ostree-repo-finder.h" line="155"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="449">a new #OstreeRepoFinderResult</doc>
+ line="447">a new #OstreeRepoFinderResult</doc>
<type name="RepoFinderResult" c:type="OstreeRepoFinderResult*"/>
</return-value>
<parameters>
<parameter name="remote" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="432">an #OstreeRemote containing the transport details
+ line="430">an #OstreeRemote containing the transport details
for the result</doc>
<type name="Remote" c:type="OstreeRemote*"/>
</parameter>
<parameter name="finder" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="434">the #OstreeRepoFinder instance which produced the
+ line="432">the #OstreeRepoFinder instance which produced the
result</doc>
<type name="RepoFinder" c:type="OstreeRepoFinder*"/>
</parameter>
<parameter name="priority" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="436">static priority of the result, where higher numbers indicate lower
+ line="434">static priority of the result, where higher numbers indicate lower
priority</doc>
<type name="gint" c:type="gint"/>
</parameter>
<parameter name="ref_to_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="438">
+ line="436">
map of collection–ref pairs to checksums provided by this result</doc>
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="CollectionRef"/>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="440">map of collection–ref pairs to timestamps provided by this
+ line="438">map of collection–ref pairs to timestamps provided by this
result</doc>
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="CollectionRef"/>
<parameter name="summary_last_modified" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="443">Unix timestamp (seconds since the epoch, UTC) when
+ line="441">Unix timestamp (seconds since the epoch, UTC) when
the summary file for the result was last modified, or `0` if this is unknown</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="496">Compare two #OstreeRepoFinderResult instances to work out which one is better
+ line="494">Compare two #OstreeRepoFinderResult instances to work out which one is better
to pull from, and hence needs to be ordered before the other.</doc>
- <source-position filename="ostree-repo-finder.h" line="166"/>
+ <source-position filename="ostree-repo-finder.h" line="164"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="504"><0 if @a is ordered before @b, 0 if they are ordered equally,
+ line="502"><0 if @a is ordered before @b, 0 if they are ordered equally,
>0 if @b is ordered before @a</doc>
<type name="gint" c:type="gint"/>
</return-value>
<instance-parameter name="a" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="498">an #OstreeRepoFinderResult</doc>
+ line="496">an #OstreeRepoFinderResult</doc>
<type name="RepoFinderResult"
c:type="const OstreeRepoFinderResult*"/>
</instance-parameter>
<parameter name="b" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="499">an #OstreeRepoFinderResult</doc>
+ line="497">an #OstreeRepoFinderResult</doc>
<type name="RepoFinderResult"
c:type="const OstreeRepoFinderResult*"/>
</parameter>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="477">Copy an #OstreeRepoFinderResult.</doc>
- <source-position filename="ostree-repo-finder.h" line="164"/>
+ line="475">Copy an #OstreeRepoFinderResult.</doc>
+ <source-position filename="ostree-repo-finder.h" line="162"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="483">a newly allocated copy of @result</doc>
+ line="481">a newly allocated copy of @result</doc>
<type name="RepoFinderResult" c:type="OstreeRepoFinderResult*"/>
</return-value>
<parameters>
<instance-parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="479">an #OstreeRepoFinderResult to copy</doc>
+ line="477">an #OstreeRepoFinderResult to copy</doc>
<type name="RepoFinderResult" c:type="OstreeRepoFinderResult*"/>
</instance-parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="547">Free the given @result.</doc>
- <source-position filename="ostree-repo-finder.h" line="169"/>
+ line="545">Free the given @result.</doc>
+ <source-position filename="ostree-repo-finder.h" line="167"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="result" transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="549">an #OstreeRepoFinderResult</doc>
+ line="547">an #OstreeRepoFinderResult</doc>
<type name="RepoFinderResult" c:type="OstreeRepoFinderResult*"/>
</instance-parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="569">Free the given @results array, freeing each element and the container.</doc>
- <source-position filename="ostree-repo-finder.h" line="186"/>
+ line="567">Free the given @results array, freeing each element and the container.</doc>
+ <source-position filename="ostree-repo-finder.h" line="184"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="results" transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="571">an #OstreeRepoFinderResult</doc>
+ line="569">an #OstreeRepoFinderResult</doc>
<array c:type="OstreeRepoFinderResult**">
<type name="RepoFinderResult" c:type="OstreeRepoFinderResult*"/>
</array>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="809">An extensible options structure controlling archive import. Ensure that
+ line="807">An extensible options structure controlling archive import. Ensure that
you have entirely zeroed the structure, then set just the desired
options. This is used by ostree_repo_import_archive_to_mtree().</doc>
- <source-position filename="ostree-repo.h" line="827"/>
+ <source-position filename="ostree-repo.h" line="825"/>
<field name="ignore_unsupported_content" writable="1" bits="1">
<type name="guint" c:type="guint"/>
</field>
version="2017.11">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="784">Possibly change a pathname while importing an archive. If %NULL is returned,
+ line="782">Possibly change a pathname while importing an archive. If %NULL is returned,
then @src_path will be used unchanged. Otherwise, return a new pathname which
will be freed via `g_free()`.
Note that enabling pathname translation will always override the setting for
`use_ostree_convention`.</doc>
- <source-position filename="ostree-repo.h" line="804"/>
+ <source-position filename="ostree-repo.h" line="802"/>
<return-value transfer-ownership="full">
<type name="utf8" c:type="char*"/>
</return-value>
<parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="786">Repo</doc>
+ line="784">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="stbuf"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="787">Stat buffer</doc>
+ line="785">Stat buffer</doc>
<type name="gpointer" c:type="const stat*"/>
</parameter>
<parameter name="src_path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="788">Path in the archive</doc>
+ line="786">Path in the archive</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="user_data"
closure="3">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="789">User data</doc>
+ line="787">User data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
</callback>
<bitfield name="RepoListObjectsFlags" c:type="OstreeRepoListObjectsFlags">
- <source-position filename="ostree-repo.h" line="1055"/>
+ <source-position filename="ostree-repo.h" line="1053"/>
<member name="loose"
value="1"
c:identifier="OSTREE_REPO_LIST_OBJECTS_LOOSE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1045">List only loose (plain file) objects</doc>
+ line="1043">List only loose (plain file) objects</doc>
</member>
<member name="packed"
value="2"
c:identifier="OSTREE_REPO_LIST_OBJECTS_PACKED">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1046">List only packed (compacted into blobs) objects</doc>
+ line="1044">List only packed (compacted into blobs) objects</doc>
</member>
<member name="all" value="4" c:identifier="OSTREE_REPO_LIST_OBJECTS_ALL">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1047">List all objects</doc>
+ line="1045">List all objects</doc>
</member>
<member name="no_parents"
value="8"
c:identifier="OSTREE_REPO_LIST_OBJECTS_NO_PARENTS">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1048">Only list objects in this repo, not parents</doc>
+ line="1046">Only list objects in this repo, not parents</doc>
</member>
</bitfield>
<bitfield name="RepoListRefsExtFlags" c:type="OstreeRepoListRefsExtFlags">
- <source-position filename="ostree-repo.h" line="551"/>
+ <source-position filename="ostree-repo.h" line="549"/>
<member name="none"
value="0"
c:identifier="OSTREE_REPO_LIST_REFS_EXT_NONE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="541">No flags.</doc>
+ line="539">No flags.</doc>
</member>
<member name="aliases"
value="1"
c:identifier="OSTREE_REPO_LIST_REFS_EXT_ALIASES">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="542">Only list aliases. Since: 2017.10</doc>
+ line="540">Only list aliases. Since: 2017.10</doc>
</member>
<member name="exclude_remotes"
value="2"
c:identifier="OSTREE_REPO_LIST_REFS_EXT_EXCLUDE_REMOTES">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="543">Exclude remote refs. Since: 2017.11</doc>
+ line="541">Exclude remote refs. Since: 2017.11</doc>
</member>
<member name="exclude_mirrors"
value="4"
c:identifier="OSTREE_REPO_LIST_REFS_EXT_EXCLUDE_MIRRORS">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="544">Exclude mirrored refs. Since: 2019.2</doc>
+ line="542">Exclude mirrored refs. Since: 2019.2</doc>
</member>
</bitfield>
<enumeration name="RepoLockType"
c:type="OstreeRepoLockType">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1571">Flags controlling repository locking.</doc>
- <source-position filename="ostree-repo.h" line="1583"/>
+ line="1588">Flags controlling repository locking.</doc>
+ <source-position filename="ostree-repo.h" line="1600"/>
<member name="shared" value="0" c:identifier="OSTREE_REPO_LOCK_SHARED">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1573">A "read only" lock; multiple readers are allowed.</doc>
+ line="1590">A "read only" lock; multiple readers are allowed.</doc>
</member>
<member name="exclusive"
value="1"
c:identifier="OSTREE_REPO_LOCK_EXCLUSIVE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1574">A writable lock at most one writer can be active, and zero readers.</doc>
+ line="1591">A writable lock at most one writer can be active, and zero readers.</doc>
</member>
</enumeration>
<enumeration name="RepoMode" c:type="OstreeRepoMode">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="185">See the documentation of #OstreeRepo for more information about the
+ line="189">See the documentation of #OstreeRepo for more information about the
possible modes.</doc>
- <source-position filename="ostree-core.h" line="202"/>
+ <source-position filename="ostree-core.h" line="208"/>
<member name="bare" value="0" c:identifier="OSTREE_REPO_MODE_BARE">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="187">Files are stored as themselves; checkouts are hardlinks; can only be written as root</doc>
+ line="191">Files are stored as themselves; checkouts are hardlinks; can only be written as root</doc>
</member>
<member name="archive" value="1" c:identifier="OSTREE_REPO_MODE_ARCHIVE">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="188">Files are compressed, should be owned by non-root. Can be served via HTTP. Since: 2017.12</doc>
+ line="192">Files are compressed, should be owned by non-root. Can be served via HTTP. Since: 2017.12</doc>
</member>
<member name="archive_z2"
value="1"
c:identifier="OSTREE_REPO_MODE_ARCHIVE_Z2">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="189">Legacy alias for `OSTREE_REPO_MODE_ARCHIVE`</doc>
+ line="193">Legacy alias for `OSTREE_REPO_MODE_ARCHIVE`</doc>
</member>
<member name="bare_user"
value="2"
c:identifier="OSTREE_REPO_MODE_BARE_USER">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="190">Files are stored as themselves, except ownership; can be written by user. Hardlinks work only in user checkouts.</doc>
+ line="194">Files are stored as themselves, except ownership; can be written by user. Hardlinks work only in user checkouts.</doc>
</member>
<member name="bare_user_only"
value="3"
c:identifier="OSTREE_REPO_MODE_BARE_USER_ONLY">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="191">Same as BARE_USER, but all metadata is not stored, so it can only be used for user checkouts. Does not need xattrs.</doc>
+ line="195">Same as BARE_USER, but all metadata is not stored, so it can only be used for user checkouts. Does not need xattrs.</doc>
+ </member>
+ <member name="bare_split_xattrs"
+ value="4"
+ c:identifier="OSTREE_REPO_MODE_BARE_SPLIT_XATTRS">
+ <doc xml:space="preserve"
+ filename="ostree-core.h"
+ line="196">Same as BARE_USER, but xattrs are stored separately from file content, with dedicated object types.</doc>
</member>
</enumeration>
<bitfield name="RepoPruneFlags" c:type="OstreeRepoPruneFlags">
- <source-position filename="ostree-repo.h" line="1255"/>
+ <source-position filename="ostree-repo.h" line="1272"/>
<member name="none"
value="0"
c:identifier="OSTREE_REPO_PRUNE_FLAGS_NONE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1247">No special options for pruning</doc>
+ line="1262">No special options for pruning</doc>
</member>
<member name="no_prune"
value="1"
c:identifier="OSTREE_REPO_PRUNE_FLAGS_NO_PRUNE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1248">Don't actually delete objects</doc>
+ line="1263">Don't actually delete objects</doc>
</member>
<member name="refs_only"
value="2"
c:identifier="OSTREE_REPO_PRUNE_FLAGS_REFS_ONLY">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1249">Do not traverse individual commit objects, only follow refs</doc>
+ line="1264">Do not traverse individual commit objects, only follow refs</doc>
+ </member>
+ <member name="commit_only"
+ value="4"
+ c:identifier="OSTREE_REPO_PRUNE_FLAGS_COMMIT_ONLY">
+ <doc xml:space="preserve"
+ filename="ostree-repo.h"
+ line="1265">Only traverse commit objects. (Since 2022.2)</doc>
</member>
</bitfield>
<record name="RepoPruneOptions" c:type="OstreeRepoPruneOptions">
- <source-position filename="ostree-repo.h" line="1283"/>
+ <source-position filename="ostree-repo.h" line="1300"/>
<field name="flags" writable="1">
<type name="RepoPruneFlags" c:type="OstreeRepoPruneFlags"/>
</field>
</field>
</record>
<bitfield name="RepoPullFlags" c:type="OstreeRepoPullFlags">
- <source-position filename="ostree-repo.h" line="1320"/>
+ <source-position filename="ostree-repo.h" line="1337"/>
<member name="none" value="0" c:identifier="OSTREE_REPO_PULL_FLAGS_NONE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1306">No special options for pull</doc>
+ line="1323">No special options for pull</doc>
</member>
<member name="mirror"
value="1"
c:identifier="OSTREE_REPO_PULL_FLAGS_MIRROR">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1307">Write out refs suitable for mirrors and fetch all refs if none requested</doc>
+ line="1324">Write out refs suitable for mirrors and fetch all refs if none requested</doc>
</member>
<member name="commit_only"
value="2"
c:identifier="OSTREE_REPO_PULL_FLAGS_COMMIT_ONLY">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1308">Fetch only the commit metadata</doc>
+ line="1325">Fetch only the commit metadata</doc>
</member>
<member name="untrusted"
value="4"
c:identifier="OSTREE_REPO_PULL_FLAGS_UNTRUSTED">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1309">Do verify checksums of local (filesystem-accessible) repositories (defaults on for HTTP)</doc>
+ line="1326">Do verify checksums of local (filesystem-accessible) repositories (defaults on for HTTP)</doc>
</member>
<member name="bareuseronly_files"
value="8"
c:identifier="OSTREE_REPO_PULL_FLAGS_BAREUSERONLY_FILES">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1310">Since 2017.7. Reject writes of content objects with modes outside of 0775.</doc>
+ line="1327">Since 2017.7. Reject writes of content objects with modes outside of 0775.</doc>
</member>
<member name="trusted_http"
value="16"
c:identifier="OSTREE_REPO_PULL_FLAGS_TRUSTED_HTTP">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1311">Don't verify checksums of objects HTTP repositories (Since: 2017.12)</doc>
+ line="1328">Don't verify checksums of objects HTTP repositories (Since: 2017.12)</doc>
</member>
</bitfield>
<enumeration name="RepoRemoteChange" c:type="OstreeRepoRemoteChange">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="166">The remote change operation.</doc>
- <source-position filename="ostree-repo.h" line="181"/>
+ line="164">The remote change operation.</doc>
+ <source-position filename="ostree-repo.h" line="179"/>
<member name="add"
value="0"
c:identifier="OSTREE_REPO_REMOTE_CHANGE_ADD">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="169">Add a remote</doc>
+ line="167">Add a remote</doc>
</member>
<member name="add_if_not_exists"
value="1"
c:identifier="OSTREE_REPO_REMOTE_CHANGE_ADD_IF_NOT_EXISTS">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="170">Like above, but do nothing if the remote exists</doc>
+ line="168">Like above, but do nothing if the remote exists</doc>
</member>
<member name="delete"
value="2"
c:identifier="OSTREE_REPO_REMOTE_CHANGE_DELETE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="171">Delete a remote</doc>
+ line="169">Delete a remote</doc>
</member>
<member name="delete_if_exists"
value="3"
c:identifier="OSTREE_REPO_REMOTE_CHANGE_DELETE_IF_EXISTS">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="172">Delete a remote, do nothing if the remote does not exist</doc>
+ line="170">Delete a remote, do nothing if the remote does not exist</doc>
</member>
<member name="replace"
value="4"
c:identifier="OSTREE_REPO_REMOTE_CHANGE_REPLACE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="173">Add or replace a remote (Since: 2019.2)</doc>
+ line="171">Add or replace a remote (Since: 2019.2)</doc>
</member>
</enumeration>
<bitfield name="RepoResolveRevExtFlags"
c:type="OstreeRepoResolveRevExtFlags">
- <source-position filename="ostree-repo.h" line="513"/>
+ <source-position filename="ostree-repo.h" line="511"/>
<member name="none"
value="0"
c:identifier="OSTREE_REPO_RESOLVE_REV_EXT_NONE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="507">No flags.</doc>
+ line="505">No flags.</doc>
</member>
<member name="local_only"
value="1"
c:identifier="OSTREE_REPO_RESOLVE_REV_EXT_LOCAL_ONLY">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="508">Exclude remote and mirrored refs. Since: 2019.2</doc>
+ line="506">Exclude remote and mirrored refs. Since: 2019.2</doc>
</member>
</bitfield>
<record name="RepoTransactionStats"
c:symbol-prefix="repo_transaction_stats">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="272">A list of statistics for each transaction that may be
+ line="270">A list of statistics for each transaction that may be
interesting for reporting purposes.</doc>
- <source-position filename="ostree-repo.h" line="306"/>
+ <source-position filename="ostree-repo.h" line="304"/>
<field name="metadata_objects_total" writable="1">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="274">The total number of metadata objects
+ line="272">The total number of metadata objects
in the repository after this transaction has completed.</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="metadata_objects_written" writable="1">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="276">The number of metadata objects that
+ line="274">The number of metadata objects that
were written to the repository in this transaction.</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="content_objects_total" writable="1">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="278">The total number of content objects
+ line="276">The total number of content objects
in the repository after this transaction has completed.</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="content_objects_written" writable="1">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="280">The number of content objects that
+ line="278">The number of content objects that
were written to the repository in this transaction.</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="content_bytes_written" writable="1">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="282">The amount of data added to the repository,
+ line="280">The amount of data added to the repository,
in bytes, counting only content objects.</doc>
<type name="guint64" c:type="guint64"/>
</field>
<field name="padding1" writable="1">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="284">reserved</doc>
+ line="282">reserved</doc>
<type name="guint" c:type="guint"/>
</field>
<field name="padding2" writable="1">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="285">reserved</doc>
+ line="283">reserved</doc>
<type name="guint64" c:type="guint64"/>
</field>
<field name="padding3" writable="1">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="286">reserved</doc>
+ line="284">reserved</doc>
<type name="guint64" c:type="guint64"/>
</field>
<field name="padding4" writable="1">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="287">reserved</doc>
+ line="285">reserved</doc>
<type name="guint64" c:type="guint64"/>
</field>
</record>
<bitfield name="RepoVerifyFlags"
version="2021.4"
c:type="OstreeRepoVerifyFlags">
- <source-position filename="ostree-repo.h" line="1553"/>
+ <source-position filename="ostree-repo.h" line="1570"/>
<member name="none"
value="0"
c:identifier="OSTREE_REPO_VERIFY_FLAGS_NONE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1543">No flags</doc>
+ line="1560">No flags</doc>
</member>
<member name="no_gpg"
value="1"
c:identifier="OSTREE_REPO_VERIFY_FLAGS_NO_GPG">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1544">Skip GPG verification</doc>
+ line="1561">Skip GPG verification</doc>
</member>
<member name="no_signapi"
value="2"
c:identifier="OSTREE_REPO_VERIFY_FLAGS_NO_SIGNAPI">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1545">Skip all other signature verification methods</doc>
+ line="1562">Skip all other signature verification methods</doc>
</member>
</bitfield>
<record name="RollsumMatches" c:type="OstreeRollsumMatches">
- <source-position filename="ostree-rollsum.h" line="37"/>
+ <source-position filename="ostree-rollsum.h" line="35"/>
<field name="from_rollsums" writable="1">
<type name="GLib.HashTable" c:type="GHashTable*">
<type name="gpointer" c:type="gpointer"/>
<function-macro name="SEPOLICY"
c:identifier="OSTREE_SEPOLICY"
introspectable="0">
- <source-position filename="ostree-sepolicy.h" line="29"/>
+ <source-position filename="ostree-sepolicy.h" line="27"/>
<parameters>
<parameter name="obj">
</parameter>
c:type="OSTREE_SHA256_DIGEST_LEN">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="49">Length of a sha256 digest when expressed as raw bytes</doc>
- <source-position filename="ostree-core.h" line="54"/>
+ line="47">Length of a sha256 digest when expressed as raw bytes</doc>
+ <source-position filename="ostree-core.h" line="52"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="SHA256_STRING_LEN"
c:type="OSTREE_SHA256_STRING_LEN">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="56">Length of a sha256 digest when expressed as a hexadecimal string</doc>
- <source-position filename="ostree-core.h" line="61"/>
+ line="54">Length of a sha256 digest when expressed as a hexadecimal string</doc>
+ <source-position filename="ostree-core.h" line="59"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="SIGN_NAME_ED25519"
version="2020.4">
<doc xml:space="preserve"
filename="ostree-sign.h"
- line="52">The name of the default ed25519 signing type.</doc>
- <source-position filename="ostree-sign.h" line="58"/>
+ line="50">The name of the default ed25519 signing type.</doc>
+ <source-position filename="ostree-sign.h" line="56"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="SUMMARY_GVARIANT_STRING"
value="(a(s(taya{sv}))a{sv})"
c:type="OSTREE_SUMMARY_GVARIANT_STRING">
- <source-position filename="ostree-core.h" line="170"/>
+ <source-position filename="ostree-core.h" line="174"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="SUMMARY_SIG_GVARIANT_STRING"
value="a{sv}"
c:type="OSTREE_SUMMARY_SIG_GVARIANT_STRING">
- <source-position filename="ostree-core.h" line="173"/>
+ <source-position filename="ostree-core.h" line="177"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<function-macro name="SYSROOT"
c:identifier="OSTREE_SYSROOT"
introspectable="0">
- <source-position filename="ostree-sysroot.h" line="30"/>
+ <source-position filename="ostree-sysroot.h" line="36"/>
<parameters>
<parameter name="obj">
</parameter>
<function-macro name="SYSROOT_UPGRADER"
c:identifier="OSTREE_SYSROOT_UPGRADER"
introspectable="0">
- <source-position filename="ostree-sysroot-upgrader.h" line="29"/>
+ <source-position filename="ostree-sysroot-upgrader.h" line="27"/>
<parameters>
<parameter name="obj">
</parameter>
glib:get-type="ostree_sepolicy_get_type">
<implements name="Gio.Initable"/>
<constructor name="new" c:identifier="ostree_sepolicy_new" throws="1">
- <source-position filename="ostree-sepolicy.h" line="38"/>
+ <source-position filename="ostree-sepolicy.h" line="36"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="472">An accessor object for SELinux policy in root located at @path</doc>
+ line="469">An accessor object for SELinux policy in root located at @path</doc>
<type name="SePolicy" c:type="OstreeSePolicy*"/>
</return-value>
<parameters>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="468">Path to a root directory</doc>
+ line="465">Path to a root directory</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="469">Cancellable</doc>
+ line="466">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:identifier="ostree_sepolicy_new_at"
version="2017.4"
throws="1">
- <source-position filename="ostree-sepolicy.h" line="43"/>
+ <source-position filename="ostree-sepolicy.h" line="41"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="488">An accessor object for SELinux policy in root located at @rootfs_dfd</doc>
+ line="485">An accessor object for SELinux policy in root located at @rootfs_dfd</doc>
<type name="SePolicy" c:type="OstreeSePolicy*"/>
</return-value>
<parameters>
<parameter name="rootfs_dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="484">Directory fd for rootfs (will not be cloned)</doc>
+ line="481">Directory fd for rootfs (will not be cloned)</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="485">Cancellable</doc>
+ line="482">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="273">Extract the SELinux policy from a commit object via a partial checkout. This is useful
+ line="271">Extract the SELinux policy from a commit object via a partial checkout. This is useful
for labeling derived content as separate commits.
This function is the backend of `ostree_repo_commit_modifier_set_sepolicy_from_commit()`.</doc>
- <source-position filename="ostree-sepolicy.h" line="48"/>
+ <source-position filename="ostree-sepolicy.h" line="46"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="285">A new policy</doc>
+ line="283">A new policy</doc>
<type name="SePolicy" c:type="OstreeSePolicy*"/>
</return-value>
<parameters>
<parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="275">The repo</doc>
+ line="273">The repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="rev" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="276">ostree ref or checksum</doc>
+ line="274">ostree ref or checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="277">Cancellable</doc>
+ line="275">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:identifier="ostree_sepolicy_fscreatecon_cleanup">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="713">Cleanup function for ostree_sepolicy_setfscreatecon().</doc>
- <source-position filename="ostree-sepolicy.h" line="93"/>
+ line="710">Cleanup function for ostree_sepolicy_setfscreatecon().</doc>
+ <source-position filename="ostree-sepolicy.h" line="91"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="715">Not used, just in case you didn't infer that from the parameter name</doc>
+ line="712">Not used, just in case you didn't infer that from the parameter name</doc>
<type name="gpointer" c:type="void**"/>
</parameter>
</parameters>
<method name="get_csum"
c:identifier="ostree_sepolicy_get_csum"
version="2016.5">
- <source-position filename="ostree-sepolicy.h" line="60"/>
+ <source-position filename="ostree-sepolicy.h" line="58"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="536">Checksum of current policy</doc>
+ line="533">Checksum of current policy</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="550">Store in @out_label the security context for the given @relpath and
+ line="547">Store in @out_label the security context for the given @relpath and
mode @unix_mode. If the policy does not specify a label, %NULL
will be returned.</doc>
- <source-position filename="ostree-sepolicy.h" line="63"/>
+ <source-position filename="ostree-sepolicy.h" line="61"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="552">Self</doc>
+ line="549">Self</doc>
<type name="SePolicy" c:type="OstreeSePolicy*"/>
</instance-parameter>
<parameter name="relpath" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="553">Path</doc>
+ line="550">Path</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="unix_mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="554">Unix mode</doc>
+ line="551">Unix mode</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
<parameter name="out_label"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="555">Return location for security context</doc>
+ line="552">Return location for security context</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="556">Cancellable</doc>
+ line="553">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</method>
<method name="get_name" c:identifier="ostree_sepolicy_get_name">
- <source-position filename="ostree-sepolicy.h" line="57"/>
+ <source-position filename="ostree-sepolicy.h" line="55"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="520">Type of current policy</doc>
+ line="517">Type of current policy</doc>
<type name="utf8" c:type="const char*"/>
</return-value>
<parameters>
<method name="get_path" c:identifier="ostree_sepolicy_get_path">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="500">This API should be considered deprecated, because it's supported for
+ line="497">This API should be considered deprecated, because it's supported for
policy objects to be created from file-descriptor relative paths, which
may not be globally accessible.</doc>
- <source-position filename="ostree-sepolicy.h" line="54"/>
+ <source-position filename="ostree-sepolicy.h" line="52"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="508">Path to rootfs</doc>
+ line="505">Path to rootfs</doc>
<type name="Gio.File" c:type="GFile*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="502">A SePolicy object</doc>
+ line="499">A SePolicy object</doc>
<type name="SePolicy" c:type="OstreeSePolicy*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="602">Reset the security context of @target based on the SELinux policy.</doc>
- <source-position filename="ostree-sepolicy.h" line="77"/>
+ line="599">Reset the security context of @target based on the SELinux policy.</doc>
+ <source-position filename="ostree-sepolicy.h" line="75"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="604">Self</doc>
+ line="601">Self</doc>
<type name="SePolicy" c:type="OstreeSePolicy*"/>
</instance-parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="605">Path string to use for policy lookup</doc>
+ line="602">Path string to use for policy lookup</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="info"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="606">File attributes</doc>
+ line="603">File attributes</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="target" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="607">Physical path to target file</doc>
+ line="604">Physical path to target file</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="608">Flags controlling behavior</doc>
+ line="605">Flags controlling behavior</doc>
<type name="SePolicyRestoreconFlags"
c:type="OstreeSePolicyRestoreconFlags"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="609">New label, or %NULL if unchanged</doc>
+ line="606">New label, or %NULL if unchanged</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="610">Cancellable</doc>
+ line="607">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="setfscreatecon"
c:identifier="ostree_sepolicy_setfscreatecon"
throws="1">
- <source-position filename="ostree-sepolicy.h" line="87"/>
+ <source-position filename="ostree-sepolicy.h" line="85"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="679">Policy</doc>
+ line="676">Policy</doc>
<type name="SePolicy" c:type="OstreeSePolicy*"/>
</instance-parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="680">Use this path to determine a label</doc>
+ line="677">Use this path to determine a label</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="681">Used along with @path</doc>
+ line="678">Used along with @path</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
</class>
<bitfield name="SePolicyRestoreconFlags"
c:type="OstreeSePolicyRestoreconFlags">
- <source-position filename="ostree-sepolicy.h" line="74"/>
+ <source-position filename="ostree-sepolicy.h" line="72"/>
<member name="none"
value="0"
c:identifier="OSTREE_SEPOLICY_RESTORECON_FLAGS_NONE">
glib:type-name="OstreeSign"
glib:get-type="ostree_sign_get_type"
glib:type-struct="SignInterface">
- <source-position filename="ostree-sign.h" line="95"/>
+ <source-position filename="ostree-sign.h" line="93"/>
<function name="get_all"
c:identifier="ostree_sign_get_all"
version="2020.2">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="520">Return an array with newly allocated instances of all available
+ line="518">Return an array with newly allocated instances of all available
signing engines; they will not be initialized.</doc>
- <source-position filename="ostree-sign.h" line="161"/>
+ <source-position filename="ostree-sign.h" line="159"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="526">an array of signing engines</doc>
+ line="524">an array of signing engines</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="Sign"/>
</array>
throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="544">Create a new instance of a signing engine.</doc>
- <source-position filename="ostree-sign.h" line="164"/>
+ line="542">Create a new instance of a signing engine.</doc>
+ <source-position filename="ostree-sign.h" line="162"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="551">New signing engine, or %NULL if the engine is not known</doc>
+ line="549">New signing engine, or %NULL if the engine is not known</doc>
<type name="Sign" c:type="OstreeSign*"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="546">the name of desired signature engine</doc>
+ line="544">the name of desired signature engine</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="203">Add the public key for verification. Could be called multiple times for
+ line="201">Add the public key for verification. Could be called multiple times for
adding all needed keys to be used for verification.
The @public_key argument depends of the particular engine implementation.</doc>
- <source-position filename="ostree-sign.h" line="89"/>
+ <source-position filename="ostree-sign.h" line="87"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="214">@TRUE in case if the key could be added successfully,
+ line="212">@TRUE in case if the key could be added successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="205">an #OstreeSign object</doc>
+ line="203">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
<parameter name="public_key" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="206">single public key to be added</doc>
+ line="204">single public key to be added</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="126">Clear all previously preloaded secret and public keys.</doc>
- <source-position filename="ostree-sign.h" line="81"/>
+ line="124">Clear all previously preloaded secret and public keys.</doc>
+ <source-position filename="ostree-sign.h" line="79"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="133">@TRUE in case if no errors, @FALSE in case of error</doc>
+ line="131">@TRUE in case if no errors, @FALSE in case of error</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="128">an #OstreeSign object</doc>
+ line="126">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
</parameters>
<virtual-method name="data" invoker="data" version="2020.2" throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="270">Sign the given @data with pre-loaded secret key.
+ line="268">Sign the given @data with pre-loaded secret key.
Depending of the signing engine used you will need to load
the secret key with #ostree_sign_set_sk.</doc>
- <source-position filename="ostree-sign.h" line="69"/>
+ <source-position filename="ostree-sign.h" line="67"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="283">@TRUE if @data has been signed successfully,
+ line="281">@TRUE if @data has been signed successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="272">an #OstreeSign object</doc>
+ line="270">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="273">the raw data to be signed with pre-loaded secret key</doc>
+ line="271">the raw data to be signed with pre-loaded secret key</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="signature"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="274">in case of success will contain signature</doc>
+ line="272">in case of success will contain signature</doc>
<type name="GLib.Bytes" c:type="GBytes**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="275">A #GCancellable</doc>
+ line="273">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="303">Verify given data against signatures with pre-loaded public keys.
+ line="301">Verify given data against signatures with pre-loaded public keys.
Depending of the signing engine used you will need to load
the public key(s) with #ostree_sign_set_pk, #ostree_sign_add_pk
or #ostree_sign_load_pk.</doc>
- <source-position filename="ostree-sign.h" line="74"/>
+ <source-position filename="ostree-sign.h" line="72"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="317">@TRUE if @data has been signed at least with any single valid key,
+ line="315">@TRUE if @data has been signed at least with any single valid key,
@FALSE in case of error or no valid keys are available (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="305">an #OstreeSign object</doc>
+ line="303">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="306">the raw data to check</doc>
+ line="304">the raw data to check</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="signatures" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="307">the signatures to be checked</doc>
+ line="305">the signatures to be checked</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_success_message"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="308">success message returned by the signing engine</doc>
+ line="306">success message returned by the signing engine</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
<virtual-method name="get_name" invoker="get_name" version="2020.2">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="438">Return the pointer to the name of currently used/selected signing engine.</doc>
- <source-position filename="ostree-sign.h" line="68"/>
+ line="436">Return the pointer to the name of currently used/selected signing engine.</doc>
+ <source-position filename="ostree-sign.h" line="66"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="444">pointer to the name
+ line="442">pointer to the name
@NULL in case of error (unlikely).</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="440">an #OstreeSign object</doc>
+ line="438">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="231">Load public keys for verification from anywhere.
+ line="229">Load public keys for verification from anywhere.
It is expected that all keys would be added to already pre-loaded keys.
The @options argument depends of the particular engine implementation.
'trusted.ed25519.d' and 'revoked.ed25519.d' with appropriate
public keys. Used for testing and re-definition of system-wide
directories if defaults are not suitable for any reason.</doc>
- <source-position filename="ostree-sign.h" line="92"/>
+ <source-position filename="ostree-sign.h" line="90"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="249">@TRUE in case if at least one key could be load successfully,
+ line="247">@TRUE in case if at least one key could be load successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="233">an #OstreeSign object</doc>
+ line="231">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
<parameter name="options" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="234">any options</doc>
+ line="232">any options</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
version="2020.2">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="106">Return the pointer to the string with format used in (detached) metadata for
+ line="104">Return the pointer to the string with format used in (detached) metadata for
current signing engine.</doc>
- <source-position filename="ostree-sign.h" line="80"/>
+ <source-position filename="ostree-sign.h" line="78"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="113">pointer to the metadata format,
+ line="111">pointer to the metadata format,
@NULL in case of error (unlikely).</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="108">an #OstreeSign object</doc>
+ line="106">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
</parameters>
version="2020.2">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="86">Return the pointer to the name of the key used in (detached) metadata for
+ line="84">Return the pointer to the name of the key used in (detached) metadata for
current signing engine.</doc>
- <source-position filename="ostree-sign.h" line="79"/>
+ <source-position filename="ostree-sign.h" line="77"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="93">pointer to the metadata key name,
+ line="91">pointer to the metadata key name,
@NULL in case of error (unlikely).</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="88">an #OstreeSign object</doc>
+ line="86">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="175">Set the public key for verification. It is expected what all
+ line="173">Set the public key for verification. It is expected what all
previously pre-loaded public keys will be dropped.
The @public_key argument depends of the particular engine implementation.</doc>
- <source-position filename="ostree-sign.h" line="86"/>
+ <source-position filename="ostree-sign.h" line="84"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="186">@TRUE in case if the key could be set successfully,
+ line="184">@TRUE in case if the key could be set successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="177">an #OstreeSign object</doc>
+ line="175">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
<parameter name="public_key" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="178">single public key to be added</doc>
+ line="176">single public key to be added</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="148">Set the secret key to be used for signing data, commits and summary.
+ line="146">Set the secret key to be used for signing data, commits and summary.
The @secret_key argument depends of the particular engine implementation.</doc>
- <source-position filename="ostree-sign.h" line="83"/>
+ <source-position filename="ostree-sign.h" line="81"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="158">@TRUE in case if the key could be set successfully,
+ line="156">@TRUE in case if the key could be set successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="150">an #OstreeSign object</doc>
+ line="148">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
<parameter name="secret_key" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="151">secret key to be added</doc>
+ line="149">secret key to be added</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="203">Add the public key for verification. Could be called multiple times for
+ line="201">Add the public key for verification. Could be called multiple times for
adding all needed keys to be used for verification.
The @public_key argument depends of the particular engine implementation.</doc>
- <source-position filename="ostree-sign.h" line="150"/>
+ <source-position filename="ostree-sign.h" line="148"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="214">@TRUE in case if the key could be added successfully,
+ line="212">@TRUE in case if the key could be added successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="205">an #OstreeSign object</doc>
+ line="203">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
<parameter name="public_key" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="206">single public key to be added</doc>
+ line="204">single public key to be added</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="126">Clear all previously preloaded secret and public keys.</doc>
- <source-position filename="ostree-sign.h" line="136"/>
+ line="124">Clear all previously preloaded secret and public keys.</doc>
+ <source-position filename="ostree-sign.h" line="134"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="133">@TRUE in case if no errors, @FALSE in case of error</doc>
+ line="131">@TRUE in case if no errors, @FALSE in case of error</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="128">an #OstreeSign object</doc>
+ line="126">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="458">Add a signature to a commit.
+ line="456">Add a signature to a commit.
Depending of the signing engine used you will need to load
the secret key with #ostree_sign_set_sk.</doc>
- <source-position filename="ostree-sign.h" line="121"/>
+ <source-position filename="ostree-sign.h" line="119"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="471">@TRUE if commit has been signed successfully,
+ line="469">@TRUE if commit has been signed successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="460">an #OstreeSign object</doc>
+ line="458">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
<parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="461">an #OsreeRepo object</doc>
+ line="459">an #OsreeRepo object</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="462">SHA256 of given commit to sign</doc>
+ line="460">SHA256 of given commit to sign</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="463">A #GCancellable</doc>
+ line="461">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="371">Verify if commit is signed with known key.
+ line="369">Verify if commit is signed with known key.
Depending of the signing engine used you will need to load
the public key(s) for verification with #ostree_sign_set_pk,
#ostree_sign_add_pk and/or #ostree_sign_load_pk.</doc>
- <source-position filename="ostree-sign.h" line="128"/>
+ <source-position filename="ostree-sign.h" line="126"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="386">@TRUE if commit has been verified successfully,
+ line="384">@TRUE if commit has been verified successfully,
@FALSE in case of error or no valid keys are available (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="373">an #OstreeSign object</doc>
+ line="371">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
<parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="374">an #OsreeRepo object</doc>
+ line="372">an #OsreeRepo object</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="commit_checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="375">SHA256 of given commit to verify</doc>
+ line="373">SHA256 of given commit to verify</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
<parameter name="out_success_message"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="376">success message returned by the signing engine</doc>
+ line="374">success message returned by the signing engine</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="377">A #GCancellable</doc>
+ line="375">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="270">Sign the given @data with pre-loaded secret key.
+ line="268">Sign the given @data with pre-loaded secret key.
Depending of the signing engine used you will need to load
the secret key with #ostree_sign_set_sk.</doc>
- <source-position filename="ostree-sign.h" line="101"/>
+ <source-position filename="ostree-sign.h" line="99"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="283">@TRUE if @data has been signed successfully,
+ line="281">@TRUE if @data has been signed successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="272">an #OstreeSign object</doc>
+ line="270">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="273">the raw data to be signed with pre-loaded secret key</doc>
+ line="271">the raw data to be signed with pre-loaded secret key</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="signature"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="274">in case of success will contain signature</doc>
+ line="272">in case of success will contain signature</doc>
<type name="GLib.Bytes" c:type="GBytes**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="275">A #GCancellable</doc>
+ line="273">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="303">Verify given data against signatures with pre-loaded public keys.
+ line="301">Verify given data against signatures with pre-loaded public keys.
Depending of the signing engine used you will need to load
the public key(s) with #ostree_sign_set_pk, #ostree_sign_add_pk
or #ostree_sign_load_pk.</doc>
- <source-position filename="ostree-sign.h" line="108"/>
+ <source-position filename="ostree-sign.h" line="106"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="317">@TRUE if @data has been signed at least with any single valid key,
+ line="315">@TRUE if @data has been signed at least with any single valid key,
@FALSE in case of error or no valid keys are available (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="305">an #OstreeSign object</doc>
+ line="303">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="306">the raw data to check</doc>
+ line="304">the raw data to check</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="signatures" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="307">the signatures to be checked</doc>
+ line="305">the signatures to be checked</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_success_message"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="308">success message returned by the signing engine</doc>
+ line="306">success message returned by the signing engine</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
<method name="dummy_add_pk"
c:identifier="ostree_sign_dummy_add_pk"
throws="1">
- <source-position filename="ostree-sign-dummy.h" line="74"/>
+ <source-position filename="ostree-sign-dummy.h" line="72"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<method name="dummy_data"
c:identifier="ostree_sign_dummy_data"
throws="1">
- <source-position filename="ostree-sign-dummy.h" line="57"/>
+ <source-position filename="ostree-sign-dummy.h" line="55"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<method name="dummy_data_verify"
c:identifier="ostree_sign_dummy_data_verify"
throws="1">
- <source-position filename="ostree-sign-dummy.h" line="63"/>
+ <source-position filename="ostree-sign-dummy.h" line="61"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
</parameters>
</method>
<method name="dummy_get_name" c:identifier="ostree_sign_dummy_get_name">
- <source-position filename="ostree-sign-dummy.h" line="55"/>
+ <source-position filename="ostree-sign-dummy.h" line="53"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</return-value>
</method>
<method name="dummy_metadata_format"
c:identifier="ostree_sign_dummy_metadata_format">
- <source-position filename="ostree-sign-dummy.h" line="70"/>
+ <source-position filename="ostree-sign-dummy.h" line="68"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</return-value>
</method>
<method name="dummy_metadata_key"
c:identifier="ostree_sign_dummy_metadata_key">
- <source-position filename="ostree-sign-dummy.h" line="69"/>
+ <source-position filename="ostree-sign-dummy.h" line="67"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</return-value>
<method name="dummy_set_pk"
c:identifier="ostree_sign_dummy_set_pk"
throws="1">
- <source-position filename="ostree-sign-dummy.h" line="73"/>
+ <source-position filename="ostree-sign-dummy.h" line="71"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<method name="dummy_set_sk"
c:identifier="ostree_sign_dummy_set_sk"
throws="1">
- <source-position filename="ostree-sign-dummy.h" line="72"/>
+ <source-position filename="ostree-sign-dummy.h" line="70"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<method name="ed25519_add_pk"
c:identifier="ostree_sign_ed25519_add_pk"
throws="1">
- <source-position filename="ostree-sign-ed25519.h" line="82"/>
+ <source-position filename="ostree-sign-ed25519.h" line="80"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<method name="ed25519_clear_keys"
c:identifier="ostree_sign_ed25519_clear_keys"
throws="1">
- <source-position filename="ostree-sign-ed25519.h" line="71"/>
+ <source-position filename="ostree-sign-ed25519.h" line="69"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<method name="ed25519_data"
c:identifier="ostree_sign_ed25519_data"
throws="1">
- <source-position filename="ostree-sign-ed25519.h" line="55"/>
+ <source-position filename="ostree-sign-ed25519.h" line="53"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<method name="ed25519_data_verify"
c:identifier="ostree_sign_ed25519_data_verify"
throws="1">
- <source-position filename="ostree-sign-ed25519.h" line="61"/>
+ <source-position filename="ostree-sign-ed25519.h" line="59"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
<method name="ed25519_get_name"
c:identifier="ostree_sign_ed25519_get_name">
- <source-position filename="ostree-sign-ed25519.h" line="67"/>
+ <source-position filename="ostree-sign-ed25519.h" line="65"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</return-value>
<method name="ed25519_load_pk"
c:identifier="ostree_sign_ed25519_load_pk"
throws="1">
- <source-position filename="ostree-sign-ed25519.h" line="86"/>
+ <source-position filename="ostree-sign-ed25519.h" line="84"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
</method>
<method name="ed25519_metadata_format"
c:identifier="ostree_sign_ed25519_metadata_format">
- <source-position filename="ostree-sign-ed25519.h" line="69"/>
+ <source-position filename="ostree-sign-ed25519.h" line="67"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</return-value>
</method>
<method name="ed25519_metadata_key"
c:identifier="ostree_sign_ed25519_metadata_key">
- <source-position filename="ostree-sign-ed25519.h" line="68"/>
+ <source-position filename="ostree-sign-ed25519.h" line="66"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const gchar*"/>
</return-value>
<method name="ed25519_set_pk"
c:identifier="ostree_sign_ed25519_set_pk"
throws="1">
- <source-position filename="ostree-sign-ed25519.h" line="78"/>
+ <source-position filename="ostree-sign-ed25519.h" line="76"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<method name="ed25519_set_sk"
c:identifier="ostree_sign_ed25519_set_sk"
throws="1">
- <source-position filename="ostree-sign-ed25519.h" line="74"/>
+ <source-position filename="ostree-sign-ed25519.h" line="72"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
version="2020.2">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="438">Return the pointer to the name of currently used/selected signing engine.</doc>
- <source-position filename="ostree-sign.h" line="98"/>
+ line="436">Return the pointer to the name of currently used/selected signing engine.</doc>
+ <source-position filename="ostree-sign.h" line="96"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="444">pointer to the name
+ line="442">pointer to the name
@NULL in case of error (unlikely).</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="440">an #OstreeSign object</doc>
+ line="438">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="231">Load public keys for verification from anywhere.
+ line="229">Load public keys for verification from anywhere.
It is expected that all keys would be added to already pre-loaded keys.
The @options argument depends of the particular engine implementation.
'trusted.ed25519.d' and 'revoked.ed25519.d' with appropriate
public keys. Used for testing and re-definition of system-wide
directories if defaults are not suitable for any reason.</doc>
- <source-position filename="ostree-sign.h" line="155"/>
+ <source-position filename="ostree-sign.h" line="153"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="249">@TRUE in case if at least one key could be load successfully,
+ line="247">@TRUE in case if at least one key could be load successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="233">an #OstreeSign object</doc>
+ line="231">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
<parameter name="options" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="234">any options</doc>
+ line="232">any options</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
version="2020.2">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="106">Return the pointer to the string with format used in (detached) metadata for
+ line="104">Return the pointer to the string with format used in (detached) metadata for
current signing engine.</doc>
- <source-position filename="ostree-sign.h" line="118"/>
+ <source-position filename="ostree-sign.h" line="116"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="113">pointer to the metadata format,
+ line="111">pointer to the metadata format,
@NULL in case of error (unlikely).</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="108">an #OstreeSign object</doc>
+ line="106">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
</parameters>
version="2020.2">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="86">Return the pointer to the name of the key used in (detached) metadata for
+ line="84">Return the pointer to the name of the key used in (detached) metadata for
current signing engine.</doc>
- <source-position filename="ostree-sign.h" line="115"/>
+ <source-position filename="ostree-sign.h" line="113"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="93">pointer to the metadata key name,
+ line="91">pointer to the metadata key name,
@NULL in case of error (unlikely).</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="88">an #OstreeSign object</doc>
+ line="86">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="175">Set the public key for verification. It is expected what all
+ line="173">Set the public key for verification. It is expected what all
previously pre-loaded public keys will be dropped.
The @public_key argument depends of the particular engine implementation.</doc>
- <source-position filename="ostree-sign.h" line="145"/>
+ <source-position filename="ostree-sign.h" line="143"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="186">@TRUE in case if the key could be set successfully,
+ line="184">@TRUE in case if the key could be set successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="177">an #OstreeSign object</doc>
+ line="175">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
<parameter name="public_key" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="178">single public key to be added</doc>
+ line="176">single public key to be added</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="148">Set the secret key to be used for signing data, commits and summary.
+ line="146">Set the secret key to be used for signing data, commits and summary.
The @secret_key argument depends of the particular engine implementation.</doc>
- <source-position filename="ostree-sign.h" line="140"/>
+ <source-position filename="ostree-sign.h" line="138"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="158">@TRUE in case if the key could be set successfully,
+ line="156">@TRUE in case if the key could be set successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="150">an #OstreeSign object</doc>
+ line="148">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
<parameter name="secret_key" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="151">secret key to be added</doc>
+ line="149">secret key to be added</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="586">Add a signature to a summary file.
+ line="584">Add a signature to a summary file.
Based on ostree_repo_add_gpg_signature_summary implementation.</doc>
- <source-position filename="ostree-sign.h" line="167"/>
+ <source-position filename="ostree-sign.h" line="165"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="597">@TRUE if summary file has been signed with all provided keys</doc>
+ line="595">@TRUE if summary file has been signed with all provided keys</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="588">Self</doc>
+ line="586">Self</doc>
<type name="Sign" c:type="OstreeSign*"/>
</instance-parameter>
<parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="589">ostree repository</doc>
+ line="587">ostree repository</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="keys" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="590">keys -- GVariant containing keys as GVarints specific to signature type.</doc>
+ line="588">keys -- GVariant containing keys as GVarints specific to signature type.</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="591">A #GCancellable</doc>
+ line="589">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</method>
</interface>
<record name="SignDummy" c:type="OstreeSignDummy" disguised="1">
- <source-position filename="ostree-sign-dummy.h" line="38"/>
+ <source-position filename="ostree-sign-dummy.h" line="36"/>
</record>
<record name="SignDummyClass" c:type="OstreeSignDummyClass">
- <source-position filename="ostree-sign-dummy.h" line="39"/>
+ <source-position filename="ostree-sign-dummy.h" line="37"/>
<field name="parent_class" writable="1">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
</record>
<record name="SignEd25519" c:type="OstreeSignEd25519" disguised="1">
- <source-position filename="ostree-sign-ed25519.h" line="38"/>
+ <source-position filename="ostree-sign-ed25519.h" line="36"/>
</record>
<record name="SignEd25519Class" c:type="OstreeSignEd25519Class">
- <source-position filename="ostree-sign-ed25519.h" line="39"/>
+ <source-position filename="ostree-sign-ed25519.h" line="37"/>
<field name="parent_class" writable="1">
<type name="GObject.ObjectClass" c:type="GObjectClass"/>
</field>
<record name="SignInterface"
c:type="OstreeSignInterface"
glib:is-gtype-struct-for="Sign">
- <source-position filename="ostree-sign.h" line="95"/>
+ <source-position filename="ostree-sign.h" line="93"/>
<field name="g_iface">
<type name="GObject.TypeInterface" c:type="GTypeInterface"/>
</field>
<field name="get_name">
<callback name="get_name">
- <source-position filename="ostree-sign.h" line="68"/>
+ <source-position filename="ostree-sign.h" line="66"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="444">pointer to the name
+ line="442">pointer to the name
@NULL in case of error (unlikely).</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="440">an #OstreeSign object</doc>
+ line="438">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</parameter>
</parameters>
</field>
<field name="data">
<callback name="data" throws="1">
- <source-position filename="ostree-sign.h" line="69"/>
+ <source-position filename="ostree-sign.h" line="67"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="283">@TRUE if @data has been signed successfully,
+ line="281">@TRUE if @data has been signed successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="272">an #OstreeSign object</doc>
+ line="270">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="273">the raw data to be signed with pre-loaded secret key</doc>
+ line="271">the raw data to be signed with pre-loaded secret key</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="signature"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="274">in case of success will contain signature</doc>
+ line="272">in case of success will contain signature</doc>
<type name="GLib.Bytes" c:type="GBytes**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="275">A #GCancellable</doc>
+ line="273">A #GCancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</field>
<field name="data_verify">
<callback name="data_verify" throws="1">
- <source-position filename="ostree-sign.h" line="74"/>
+ <source-position filename="ostree-sign.h" line="72"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="317">@TRUE if @data has been signed at least with any single valid key,
+ line="315">@TRUE if @data has been signed at least with any single valid key,
@FALSE in case of error or no valid keys are available (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="305">an #OstreeSign object</doc>
+ line="303">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</parameter>
<parameter name="data" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="306">the raw data to check</doc>
+ line="304">the raw data to check</doc>
<type name="GLib.Bytes" c:type="GBytes*"/>
</parameter>
<parameter name="signatures" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="307">the signatures to be checked</doc>
+ line="305">the signatures to be checked</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_success_message"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="308">success message returned by the signing engine</doc>
+ line="306">success message returned by the signing engine</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
</field>
<field name="metadata_key">
<callback name="metadata_key">
- <source-position filename="ostree-sign.h" line="79"/>
+ <source-position filename="ostree-sign.h" line="77"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="93">pointer to the metadata key name,
+ line="91">pointer to the metadata key name,
@NULL in case of error (unlikely).</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="88">an #OstreeSign object</doc>
+ line="86">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</parameter>
</parameters>
</field>
<field name="metadata_format">
<callback name="metadata_format">
- <source-position filename="ostree-sign.h" line="80"/>
+ <source-position filename="ostree-sign.h" line="78"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="113">pointer to the metadata format,
+ line="111">pointer to the metadata format,
@NULL in case of error (unlikely).</doc>
<type name="utf8" c:type="const gchar*"/>
</return-value>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="108">an #OstreeSign object</doc>
+ line="106">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</parameter>
</parameters>
</field>
<field name="clear_keys">
<callback name="clear_keys" throws="1">
- <source-position filename="ostree-sign.h" line="81"/>
+ <source-position filename="ostree-sign.h" line="79"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="133">@TRUE in case if no errors, @FALSE in case of error</doc>
+ line="131">@TRUE in case if no errors, @FALSE in case of error</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="128">an #OstreeSign object</doc>
+ line="126">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</parameter>
</parameters>
</field>
<field name="set_sk">
<callback name="set_sk" throws="1">
- <source-position filename="ostree-sign.h" line="83"/>
+ <source-position filename="ostree-sign.h" line="81"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="158">@TRUE in case if the key could be set successfully,
+ line="156">@TRUE in case if the key could be set successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="150">an #OstreeSign object</doc>
+ line="148">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</parameter>
<parameter name="secret_key" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="151">secret key to be added</doc>
+ line="149">secret key to be added</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
</field>
<field name="set_pk">
<callback name="set_pk" throws="1">
- <source-position filename="ostree-sign.h" line="86"/>
+ <source-position filename="ostree-sign.h" line="84"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="186">@TRUE in case if the key could be set successfully,
+ line="184">@TRUE in case if the key could be set successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="177">an #OstreeSign object</doc>
+ line="175">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</parameter>
<parameter name="public_key" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="178">single public key to be added</doc>
+ line="176">single public key to be added</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
</field>
<field name="add_pk">
<callback name="add_pk" throws="1">
- <source-position filename="ostree-sign.h" line="89"/>
+ <source-position filename="ostree-sign.h" line="87"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="214">@TRUE in case if the key could be added successfully,
+ line="212">@TRUE in case if the key could be added successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="205">an #OstreeSign object</doc>
+ line="203">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</parameter>
<parameter name="public_key" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="206">single public key to be added</doc>
+ line="204">single public key to be added</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
</field>
<field name="load_pk">
<callback name="load_pk" throws="1">
- <source-position filename="ostree-sign.h" line="92"/>
+ <source-position filename="ostree-sign.h" line="90"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="249">@TRUE in case if at least one key could be load successfully,
+ line="247">@TRUE in case if at least one key could be load successfully,
@FALSE in case of error (@error will contain the reason).</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="233">an #OstreeSign object</doc>
+ line="231">an #OstreeSign object</doc>
<type name="Sign" c:type="OstreeSign*"/>
</parameter>
<parameter name="options" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="234">any options</doc>
+ line="232">any options</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
c:type="OstreeStaticDeltaGenerateOpt">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1091">Parameters controlling optimization of static deltas.</doc>
- <source-position filename="ostree-repo.h" line="1101"/>
+ line="1089">Parameters controlling optimization of static deltas.</doc>
+ <source-position filename="ostree-repo.h" line="1099"/>
<member name="lowlatency"
value="0"
c:identifier="OSTREE_STATIC_DELTA_GENERATE_OPT_LOWLATENCY">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1093">Optimize for speed of delta creation over space</doc>
+ line="1091">Optimize for speed of delta creation over space</doc>
</member>
<member name="major"
value="1"
c:identifier="OSTREE_STATIC_DELTA_GENERATE_OPT_MAJOR">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1094">Optimize for delta size (may be very slow)</doc>
+ line="1092">Optimize for delta size (may be very slow)</doc>
</member>
</enumeration>
<enumeration name="StaticDeltaIndexFlags"
c:type="OstreeStaticDeltaIndexFlags">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1113">Flags controlling static delta index generation.</doc>
- <source-position filename="ostree-repo.h" line="1121"/>
+ line="1111">Flags controlling static delta index generation.</doc>
+ <source-position filename="ostree-repo.h" line="1119"/>
<member name="static_delta_index_flags_none"
value="0"
c:identifier="OSTREE_STATIC_DELTA_INDEX_FLAGS_NONE">
<doc xml:space="preserve"
filename="ostree-repo.h"
- line="1115">No special flags</doc>
+ line="1113">No special flags</doc>
</member>
</enumeration>
<class name="Sysroot"
<constructor name="new" c:identifier="ostree_sysroot_new">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="203">Create a new #OstreeSysroot object for the sysroot at @path. If @path is %NULL,
+ line="206">Create a new #OstreeSysroot object for the sysroot at @path. If @path is %NULL,
the current visible root file system is used, equivalent to
ostree_sysroot_new_default().</doc>
- <source-position filename="ostree-sysroot.h" line="39"/>
+ <source-position filename="ostree-sysroot.h" line="45"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="212">An accessor object for an system root located at @path</doc>
+ line="215">An accessor object for an system root located at @path</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</return-value>
<parameters>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="205">Path to a system root directory, or %NULL to use the
+ line="208">Path to a system root directory, or %NULL to use the
current visible root file system</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
</constructor>
<constructor name="new_default"
c:identifier="ostree_sysroot_new_default">
- <source-position filename="ostree-sysroot.h" line="42"/>
+ <source-position filename="ostree-sysroot.h" line="48"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="223">An accessor for the current visible root / filesystem</doc>
+ line="226">An accessor for the current visible root / filesystem</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</return-value>
</constructor>
<function name="get_deployment_origin_path"
c:identifier="ostree_sysroot_get_deployment_origin_path">
- <source-position filename="ostree-sysroot.h" line="102"/>
+ <source-position filename="ostree-sysroot.h" line="108"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1342">Path to deployment origin file</doc>
+ line="1348">Path to deployment origin file</doc>
<type name="Gio.File" c:type="GFile*"/>
</return-value>
<parameters>
<parameter name="deployment_path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1340">A deployment path</doc>
+ line="1346">A deployment path</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
</parameters>
<method name="cleanup" c:identifier="ostree_sysroot_cleanup" throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="543">Delete any state that resulted from a partially completed
+ line="541">Delete any state that resulted from a partially completed
transaction, such as incomplete deployments.</doc>
- <source-position filename="ostree-sysroot.h" line="130"/>
+ <source-position filename="ostree-sysroot.h" line="136"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="545">Sysroot</doc>
+ line="543">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="546">Cancellable</doc>
+ line="544">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="467">Prune the system repository. This is a thin wrapper
+ line="465">Prune the system repository. This is a thin wrapper
around ostree_repo_prune_from_reachable(); the primary
addition is that this function automatically gathers
all deployed commits into the reachable set.
flag in @options. A commit traversal depth of `0` is assumed.
Locking: exclusive</doc>
- <source-position filename="ostree-sysroot.h" line="141"/>
+ <source-position filename="ostree-sysroot.h" line="147"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="sysroot" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="469">Sysroot</doc>
+ line="467">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="options" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="470">Flags controlling pruning</doc>
+ line="468">Flags controlling pruning</doc>
<type name="RepoPruneOptions" c:type="OstreeRepoPruneOptions*"/>
</parameter>
<parameter name="out_objects_total"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="471">Number of objects found</doc>
+ line="469">Number of objects found</doc>
<type name="gint" c:type="gint*"/>
</parameter>
<parameter name="out_objects_pruned"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="472">Number of objects deleted</doc>
+ line="470">Number of objects deleted</doc>
<type name="gint" c:type="gint*"/>
</parameter>
<parameter name="out_pruned_object_size_total"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="473">Storage size in bytes of objects deleted</doc>
+ line="471">Storage size in bytes of objects deleted</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="474">Cancellable</doc>
+ line="472">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2889">Older version of ostree_sysroot_stage_tree_with_options().</doc>
- <source-position filename="ostree-sysroot.h" line="208"/>
+ line="2960">Older version of ostree_sysroot_stage_tree_with_options().</doc>
+ <source-position filename="ostree-sysroot.h" line="214"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2891">Sysroot</doc>
+ line="2962">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="osname"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2892">osname to use for merge deployment</doc>
+ line="2963">osname to use for merge deployment</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="revision" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2893">Checksum to add</doc>
+ line="2964">Checksum to add</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="origin"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2894">Origin to use for upgrades</doc>
+ line="2965">Origin to use for upgrades</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
<parameter name="provided_merge_deployment"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2895">Use this deployment for merge path</doc>
+ line="2966">Use this deployment for merge path</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="override_kernel_argv"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2896">Use these as kernel arguments; if %NULL, inherit options from provided_merge_deployment</doc>
+ line="2967">Use these as kernel arguments; if %NULL, inherit options from provided_merge_deployment</doc>
<array c:type="char**">
<type name="utf8"/>
</array>
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2897">The new deployment path</doc>
+ line="2968">The new deployment path</doc>
<type name="Deployment" c:type="OstreeDeployment**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2898">Cancellable</doc>
+ line="2969">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2842">Check out deployment tree with revision @revision, performing a 3
+ line="2913">Check out deployment tree with revision @revision, performing a 3
way merge with @provided_merge_deployment for configuration.
When booted into the sysroot, you should use the
ostree_sysroot_stage_tree() API instead.</doc>
- <source-position filename="ostree-sysroot.h" line="219"/>
+ <source-position filename="ostree-sysroot.h" line="225"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2844">Sysroot</doc>
+ line="2915">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="osname"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2845">osname to use for merge deployment</doc>
+ line="2916">osname to use for merge deployment</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="revision" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2846">Checksum to add</doc>
+ line="2917">Checksum to add</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="origin"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2847">Origin to use for upgrades</doc>
+ line="2918">Origin to use for upgrades</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
<parameter name="provided_merge_deployment"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2848">Use this deployment for merge path</doc>
+ line="2919">Use this deployment for merge path</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="opts"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2849">Options</doc>
+ line="2920">Options</doc>
<type name="SysrootDeployTreeOpts"
c:type="OstreeSysrootDeployTreeOpts*"/>
</parameter>
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2850">The new deployment path</doc>
+ line="2921">The new deployment path</doc>
<type name="Deployment" c:type="OstreeDeployment**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2851">Cancellable</doc>
+ line="2922">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3290">Entirely replace the kernel arguments of @deployment with the
+ line="3361">Entirely replace the kernel arguments of @deployment with the
values in @new_kargs.</doc>
- <source-position filename="ostree-sysroot.h" line="166"/>
+ <source-position filename="ostree-sysroot.h" line="172"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3292">Sysroot</doc>
+ line="3363">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3293">A deployment</doc>
+ line="3364">A deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="new_kargs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3294">Replace deployment's kernel arguments</doc>
+ line="3365">Replace deployment's kernel arguments</doc>
<array c:type="char**">
<type name="utf8"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3295">Cancellable</doc>
+ line="3366">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3339">By default, deployment directories are not mutable. This function
+ line="3410">By default, deployment directories are not mutable. This function
will allow making them temporarily mutable, for example to allow
layering additional non-OSTree content.</doc>
- <source-position filename="ostree-sysroot.h" line="253"/>
+ <source-position filename="ostree-sysroot.h" line="259"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3341">Sysroot</doc>
+ line="3412">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3342">A deployment</doc>
+ line="3413">A deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="is_mutable" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3343">Whether or not deployment's files can be changed</doc>
+ line="3414">Whether or not deployment's files can be changed</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3344">Cancellable</doc>
+ line="3415">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="2205">By default, deployments may be subject to garbage collection. Typical uses of
+ line="2212">By default, deployments may be subject to garbage collection. Typical uses of
libostree only retain at most 2 deployments. If @is_pinned is `TRUE`, a
metadata bit will be set causing libostree to avoid automatic GC of the
deployment. However, this is really an "advisory" note; it's still possible
This function does nothing and returns successfully if the deployment
is already in the desired pinning state. It is an error to try to pin
the staged deployment (as it's not in the bootloader entries).</doc>
- <source-position filename="ostree-sysroot.h" line="260"/>
+ <source-position filename="ostree-sysroot.h" line="266"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="2207">Sysroot</doc>
+ line="2214">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="2208">A deployment</doc>
+ line="2215">A deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="is_pinned" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="2209">Whether or not deployment will be automatically GC'd</doc>
+ line="2216">Whether or not deployment will be automatically GC'd</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1999">Configure the target deployment @deployment such that it
+ line="2006">Configure the target deployment @deployment such that it
is writable. There are multiple modes, essentially differing
in whether or not any changes persist across reboot.
The `OSTREE_DEPLOYMENT_UNLOCKED_HOTFIX` state is persistent
across reboots.</doc>
- <source-position filename="ostree-sysroot.h" line="266"/>
+ <source-position filename="ostree-sysroot.h" line="272"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="2001">Sysroot</doc>
+ line="2008">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="2002">Deployment</doc>
+ line="2009">Deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="unlocked_state" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="2003">Transition to this unlocked state</doc>
+ line="2010">Transition to this unlocked state</doc>
<type name="DeploymentUnlockedState"
c:type="OstreeDeploymentUnlockedState"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="2004">Cancellable</doc>
+ line="2011">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="424">Ensure that @self is set up as a valid rootfs, by creating
+ line="427">Ensure that @self is set up as a valid rootfs, by creating
/ostree/repo, among other things.</doc>
- <source-position filename="ostree-sysroot.h" line="75"/>
+ <source-position filename="ostree-sysroot.h" line="81"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="426">Sysroot</doc>
+ line="429">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="427">Cancellable</doc>
+ line="430">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</method>
<method name="get_booted_deployment"
c:identifier="ostree_sysroot_get_booted_deployment">
- <source-position filename="ostree-sysroot.h" line="86"/>
+ <doc xml:space="preserve"
+ filename="ostree-sysroot.c"
+ line="1237">This function may only be called if the sysroot is loaded.</doc>
+ <source-position filename="ostree-sysroot.h" line="92"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1238">The currently booted deployment, or %NULL if none</doc>
+ line="1243">The currently booted deployment, or %NULL if none</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1236">Sysroot</doc>
+ line="1239">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_bootversion"
c:identifier="ostree_sysroot_get_bootversion">
- <source-position filename="ostree-sysroot.h" line="80"/>
+ <source-position filename="ostree-sysroot.h" line="86"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
</method>
<method name="get_deployment_directory"
c:identifier="ostree_sysroot_get_deployment_directory">
- <source-position filename="ostree-sysroot.h" line="94"/>
+ <source-position filename="ostree-sysroot.h" line="100"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1328">Path to deployment root directory</doc>
+ line="1334">Path to deployment root directory</doc>
<type name="Gio.File" c:type="GFile*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1325">Sysroot</doc>
+ line="1331">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1326">A deployment</doc>
+ line="1332">A deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
</parameters>
c:identifier="ostree_sysroot_get_deployment_dirpath">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1302">Note this function only returns a *relative* path - if you want
+ line="1308">Note this function only returns a *relative* path - if you want
to access, it, you must either use fd-relative api such as openat(),
or concatenate it with the full ostree_sysroot_get_path().</doc>
- <source-position filename="ostree-sysroot.h" line="98"/>
+ <source-position filename="ostree-sysroot.h" line="104"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1311">Path to deployment root directory, relative to sysroot</doc>
+ line="1317">Path to deployment root directory, relative to sysroot</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1304">Repo</doc>
+ line="1310">Repo</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1305">A deployment</doc>
+ line="1311">A deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
</parameters>
</method>
<method name="get_deployments"
c:identifier="ostree_sysroot_get_deployments">
- <source-position filename="ostree-sysroot.h" line="84"/>
+ <source-position filename="ostree-sysroot.h" line="90"/>
<return-value transfer-ownership="container">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1289">Ordered list of deployments</doc>
+ line="1295">Ordered list of deployments</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="Deployment"/>
</array>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1287">Sysroot</doc>
+ line="1293">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
<method name="get_fd" c:identifier="ostree_sysroot_get_fd">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="360">Access a file descriptor that refers to the root directory of this sysroot.
+ line="363">Access a file descriptor that refers to the root directory of this sysroot.
ostree_sysroot_initialize() (or ostree_sysroot_load()) must have been invoked
prior to calling this function.</doc>
- <source-position filename="ostree-sysroot.h" line="54"/>
+ <source-position filename="ostree-sysroot.h" line="60"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="368">A file descriptor valid for the lifetime of @self</doc>
+ line="371">A file descriptor valid for the lifetime of @self</doc>
<type name="gint" c:type="int"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="362">Sysroot</doc>
+ line="365">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
c:identifier="ostree_sysroot_get_merge_deployment">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1554">Find the deployment to use as a configuration merge source; this is
+ line="1561">Find the deployment to use as a configuration merge source; this is
the first one in the current deployment list which matches osname.</doc>
- <source-position filename="ostree-sysroot.h" line="279"/>
+ <source-position filename="ostree-sysroot.h" line="285"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1562">Configuration merge deployment</doc>
+ line="1569">Configuration merge deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1556">Sysroot</doc>
+ line="1563">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="osname"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1557">Operating system group</doc>
+ line="1564">Operating system group</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</method>
<method name="get_path" c:identifier="ostree_sysroot_get_path">
- <source-position filename="ostree-sysroot.h" line="48"/>
+ <source-position filename="ostree-sysroot.h" line="54"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="262">Path to rootfs</doc>
+ line="265">Path to rootfs</doc>
<type name="Gio.File" c:type="GFile*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="260">Sysroot</doc>
+ line="263">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1353">Retrieve the OSTree repository in sysroot @self. The repo is guaranteed to be open
+ line="1359">Retrieve the OSTree repository in sysroot @self. The repo is guaranteed to be open
(see ostree_repo_open()).</doc>
- <source-position filename="ostree-sysroot.h" line="160"/>
+ <source-position filename="ostree-sysroot.h" line="166"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1363">%TRUE on success, %FALSE otherwise</doc>
+ line="1369">%TRUE on success, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1355">Sysroot</doc>
+ line="1361">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="out_repo"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1356">Repository in sysroot @self</doc>
+ line="1362">Repository in sysroot @self</doc>
<type name="Repo" c:type="OstreeRepo**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1357">Cancellable</doc>
+ line="1363">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="get_staged_deployment"
c:identifier="ostree_sysroot_get_staged_deployment"
version="2018.5">
- <source-position filename="ostree-sysroot.h" line="91"/>
+ <source-position filename="ostree-sysroot.h" line="97"/>
<return-value transfer-ownership="none" nullable="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1273">The currently staged deployment, or %NULL if none</doc>
+ line="1279">The currently staged deployment, or %NULL if none</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1271">Sysroot</doc>
+ line="1277">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_subbootversion"
c:identifier="ostree_sysroot_get_subbootversion">
- <source-position filename="ostree-sysroot.h" line="82"/>
+ <source-position filename="ostree-sysroot.h" line="88"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1750">Initialize the directory structure for an "osname", which is a
+ line="1757">Initialize the directory structure for an "osname", which is a
group of operating system deployments, with a shared `/var`. One
is required for generating a deployment.</doc>
- <source-position filename="ostree-sysroot.h" line="124"/>
+ <source-position filename="ostree-sysroot.h" line="130"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1752">Sysroot</doc>
+ line="1759">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="osname" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1753">Name group of operating system checkouts</doc>
+ line="1760">Name group of operating system checkouts</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1754">Cancellable</doc>
+ line="1761">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="953">Subset of ostree_sysroot_load(); performs basic initialization. Notably, one
+ line="956">Subset of ostree_sysroot_load(); performs basic initialization. Notably, one
can invoke `ostree_sysroot_get_fd()` after calling this function.
It is not necessary to call this function if ostree_sysroot_load() is
invoked.</doc>
- <source-position filename="ostree-sysroot.h" line="57"/>
+ <source-position filename="ostree-sysroot.h" line="63"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="955">sysroot</doc>
+ line="958">sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
version="2020.1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="377">Can only be invoked after `ostree_sysroot_initialize()`.</doc>
- <source-position filename="ostree-sysroot.h" line="51"/>
+ line="380">Can only be invoked after `ostree_sysroot_initialize()`.</doc>
+ <source-position filename="ostree-sysroot.h" line="57"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="383">%TRUE iff the sysroot points to a booted deployment</doc>
+ line="386">%TRUE iff the sysroot points to a booted deployment</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="379">Sysroot</doc>
+ line="382">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
<method name="load" c:identifier="ostree_sysroot_load" throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="909">Load deployment list, bootversion, and subbootversion from the
+ line="912">Load deployment list, bootversion, and subbootversion from the
rootfs @self.</doc>
- <source-position filename="ostree-sysroot.h" line="61"/>
+ <source-position filename="ostree-sysroot.h" line="67"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="911">Sysroot</doc>
+ line="914">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="912">Cancellable</doc>
+ line="915">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:identifier="ostree_sysroot_load_if_changed"
version="2016.4"
throws="1">
- <source-position filename="ostree-sysroot.h" line="66"/>
+ <source-position filename="ostree-sysroot.h" line="72"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1168">#OstreeSysroot</doc>
+ line="1171">#OstreeSysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="out_changed"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1170">Cancellable</doc>
+ line="1173">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<method name="lock" c:identifier="ostree_sysroot_lock" throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1604">Acquire an exclusive multi-process write lock for @self. This call
+ line="1611">Acquire an exclusive multi-process write lock for @self. This call
blocks until the lock has been acquired. The lock is not
reentrant.
Release the lock with ostree_sysroot_unlock(). The lock will also
be released if @self is deallocated.</doc>
- <source-position filename="ostree-sysroot.h" line="105"/>
+ <source-position filename="ostree-sysroot.h" line="111"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1606">Self</doc>
+ line="1613">Self</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
<method name="lock_async" c:identifier="ostree_sysroot_lock_async">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1714">An asynchronous version of ostree_sysroot_lock().</doc>
- <source-position filename="ostree-sysroot.h" line="112"/>
+ line="1721">An asynchronous version of ostree_sysroot_lock().</doc>
+ <source-position filename="ostree-sysroot.h" line="118"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1716">Self</doc>
+ line="1723">Self</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1717">Cancellable</doc>
+ line="1724">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="2">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1718">Callback</doc>
+ line="1725">Callback</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1719">User data</doc>
+ line="1726">User data</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1733">Call when ostree_sysroot_lock_async() is ready.</doc>
- <source-position filename="ostree-sysroot.h" line="117"/>
+ line="1740">Call when ostree_sysroot_lock_async() is ready.</doc>
+ <source-position filename="ostree-sysroot.h" line="123"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1735">Self</doc>
+ line="1742">Self</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1736">Result</doc>
+ line="1743">Result</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
</method>
<method name="origin_new_from_refspec"
c:identifier="ostree_sysroot_origin_new_from_refspec">
- <source-position filename="ostree-sysroot.h" line="284"/>
+ <source-position filename="ostree-sysroot.h" line="290"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1593">A new config file which sets @refspec as an origin</doc>
+ line="1600">A new config file which sets @refspec as an origin</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1590">Sysroot</doc>
+ line="1597">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="refspec" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1591">A refspec</doc>
+ line="1598">A refspec</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="560">Like ostree_sysroot_cleanup() in that it cleans up incomplete deployments
+ line="558">Like ostree_sysroot_cleanup() in that it cleans up incomplete deployments
and old boot versions, but does NOT prune the repository.</doc>
- <source-position filename="ostree-sysroot.h" line="135"/>
+ <source-position filename="ostree-sysroot.h" line="141"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="562">Sysroot</doc>
+ line="560">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-cleanup.c"
- line="563">Cancellable</doc>
+ line="561">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
version="2017.7">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1497">Find the pending and rollback deployments for @osname. Pass %NULL for @osname
+ line="1504">Find the pending and rollback deployments for @osname. Pass %NULL for @osname
to use the booted deployment's osname. By default, pending deployment is the
first deployment in the order that matches @osname, and @rollback will be the
next one after the booted deployment, or the deployment after the pending if
we're not looking at the booted deployment.</doc>
- <source-position filename="ostree-sysroot.h" line="273"/>
+ <source-position filename="ostree-sysroot.h" line="279"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1499">Sysroot</doc>
+ line="1506">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="osname"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1500">"stateroot" name</doc>
+ line="1507">"stateroot" name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_pending"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1501">The pending deployment</doc>
+ line="1508">The pending deployment</doc>
<type name="Deployment" c:type="OstreeDeployment**"/>
</parameter>
<parameter name="out_rollback"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1502">The rollback deployment</doc>
+ line="1509">The rollback deployment</doc>
<type name="Deployment" c:type="OstreeDeployment**"/>
</parameter>
</parameters>
<method name="repo" c:identifier="ostree_sysroot_repo" version="2017.7">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1378">This function is a variant of ostree_sysroot_get_repo() that cannot fail, and
+ line="1384">This function is a variant of ostree_sysroot_get_repo() that cannot fail, and
returns a cached repository. Can only be called after ostree_sysroot_initialize()
or ostree_sysroot_load() has been invoked successfully.</doc>
- <source-position filename="ostree-sysroot.h" line="157"/>
+ <source-position filename="ostree-sysroot.h" line="163"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1386">The OSTree repository in sysroot @self.</doc>
+ line="1392">The OSTree repository in sysroot @self.</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1380">Sysroot</doc>
+ line="1386">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1249">Find the booted deployment, or return an error if not booted via OSTree.</doc>
- <source-position filename="ostree-sysroot.h" line="89"/>
+ line="1255">Find the booted deployment, or return an error if not booted via OSTree.</doc>
+ <source-position filename="ostree-sysroot.h" line="95"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1255">The currently booted deployment, or an error</doc>
+ line="1261">The currently booted deployment, or an error</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1251">Sysroot</doc>
+ line="1257">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
version="2020.1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="231">If this function is invoked, then libostree will assume that
+ line="234">If this function is invoked, then libostree will assume that
a private Linux mount namespace has been created by the process.
The primary use case for this is to have e.g. /sysroot mounted
read-only by default.
If you invoke this function, it must be before ostree_sysroot_load(); it may
be invoked before or after ostree_sysroot_initialize().</doc>
- <source-position filename="ostree-sysroot.h" line="45"/>
+ <source-position filename="ostree-sysroot.h" line="51"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1814">Prepend @new_deployment to the list of deployments, commit, and
+ line="1821">Prepend @new_deployment to the list of deployments, commit, and
cleanup. By default, all other deployments for the given @osname
except the merge deployment and the booted deployment will be
garbage collected.
specified, then no cleanup will be performed after adding the
deployment. Make sure to call ostree_sysroot_cleanup() sometime
later, instead.</doc>
- <source-position filename="ostree-sysroot.h" line="297"/>
+ <source-position filename="ostree-sysroot.h" line="303"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="sysroot" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1816">Sysroot</doc>
+ line="1823">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="osname"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1817">OS name</doc>
+ line="1824">OS name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="new_deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1818">Prepend this deployment to the list</doc>
+ line="1825">Prepend this deployment to the list</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="merge_deployment"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1819">Use this deployment for configuration merge</doc>
+ line="1826">Use this deployment for configuration merge</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1820">Flags controlling behavior</doc>
+ line="1827">Flags controlling behavior</doc>
<type name="SysrootSimpleWriteDeploymentFlags"
c:type="OstreeSysrootSimpleWriteDeploymentFlags"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1821">Cancellable</doc>
+ line="1828">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2981">Stage an overlay initrd to be used in an upcoming deployment. Returns a checksum which
+ line="3052">Stage an overlay initrd to be used in an upcoming deployment. Returns a checksum which
can be passed to ostree_sysroot_deploy_tree_with_options() or
ostree_sysroot_stage_tree_with_options() via the `overlay_initrds` array option.</doc>
- <source-position filename="ostree-sysroot.h" line="193"/>
+ <source-position filename="ostree-sysroot.h" line="199"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2983">Sysroot</doc>
+ line="3054">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="fd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2984">File descriptor to overlay initrd</doc>
+ line="3055">File descriptor to overlay initrd</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="out_checksum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2985">Overlay initrd checksum</doc>
+ line="3056">Overlay initrd checksum</doc>
<type name="utf8" c:type="char**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2986">Cancellable</doc>
+ line="3057">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3038">Older version of ostree_sysroot_stage_tree_with_options().</doc>
- <source-position filename="ostree-sysroot.h" line="230"/>
+ line="3109">Older version of ostree_sysroot_stage_tree_with_options().</doc>
+ <source-position filename="ostree-sysroot.h" line="236"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3040">Sysroot</doc>
+ line="3111">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="osname"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3041">osname to use for merge deployment</doc>
+ line="3112">osname to use for merge deployment</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="revision" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3042">Checksum to add</doc>
+ line="3113">Checksum to add</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="origin"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3043">Origin to use for upgrades</doc>
+ line="3114">Origin to use for upgrades</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
<parameter name="merge_deployment"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3044">Use this deployment for merge path</doc>
+ line="3115">Use this deployment for merge path</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="override_kernel_argv"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3045">Use these as kernel arguments; if %NULL, inherit options from provided_merge_deployment</doc>
+ line="3116">Use these as kernel arguments; if %NULL, inherit options from provided_merge_deployment</doc>
<array c:type="char**">
<type name="utf8"/>
</array>
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3046">The new deployment path</doc>
+ line="3117">The new deployment path</doc>
<type name="Deployment" c:type="OstreeDeployment**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3047">Cancellable</doc>
+ line="3118">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3072">Like ostree_sysroot_deploy_tree(), but "finalization" only occurs at OS
+ line="3143">Like ostree_sysroot_deploy_tree(), but "finalization" only occurs at OS
shutdown time.</doc>
- <source-position filename="ostree-sysroot.h" line="241"/>
+ <source-position filename="ostree-sysroot.h" line="247"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3074">Sysroot</doc>
+ line="3145">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="osname"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3075">osname to use for merge deployment</doc>
+ line="3146">osname to use for merge deployment</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="revision" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3076">Checksum to add</doc>
+ line="3147">Checksum to add</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="origin"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3077">Origin to use for upgrades</doc>
+ line="3148">Origin to use for upgrades</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
<parameter name="merge_deployment"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3078">Use this deployment for merge path</doc>
+ line="3149">Use this deployment for merge path</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="opts" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3079">Options</doc>
+ line="3150">Options</doc>
<type name="SysrootDeployTreeOpts"
c:type="OstreeSysrootDeployTreeOpts*"/>
</parameter>
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3080">The new deployment path</doc>
+ line="3151">The new deployment path</doc>
<type name="Deployment" c:type="OstreeDeployment**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="3081">Cancellable</doc>
+ line="3152">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1630">Try to acquire an exclusive multi-process write lock for @self. If
+ line="1637">Try to acquire an exclusive multi-process write lock for @self. If
another process holds the lock, this function will return
immediately, setting @out_acquired to %FALSE, and returning %TRUE
(and no error).
Release the lock with ostree_sysroot_unlock(). The lock will also
be released if @self is deallocated.</doc>
- <source-position filename="ostree-sysroot.h" line="108"/>
+ <source-position filename="ostree-sysroot.h" line="114"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1632">Self</doc>
+ line="1639">Self</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="out_acquired"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1633">Whether or not the lock has been acquired</doc>
+ line="1640">Whether or not the lock has been acquired</doc>
<type name="gboolean" c:type="gboolean*"/>
</parameter>
</parameters>
<method name="unload" c:identifier="ostree_sysroot_unload">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="406">Release any resources such as file descriptors referring to the
+ line="409">Release any resources such as file descriptors referring to the
root directory of this sysroot. Normally, those resources are
cleared by finalization, but in garbage collected languages that
may not be predictable.
This undoes the effect of `ostree_sysroot_load()`.</doc>
- <source-position filename="ostree-sysroot.h" line="72"/>
+ <source-position filename="ostree-sysroot.h" line="78"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="408">Sysroot</doc>
+ line="411">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
<method name="unlock" c:identifier="ostree_sysroot_unlock">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1678">Clear the lock previously acquired with ostree_sysroot_lock(). It
+ line="1685">Clear the lock previously acquired with ostree_sysroot_lock(). It
is safe to call this function if the lock has not been previously
acquired.</doc>
- <source-position filename="ostree-sysroot.h" line="121"/>
+ <source-position filename="ostree-sysroot.h" line="127"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="1680">Self</doc>
+ line="1687">Self</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2225">Older version of ostree_sysroot_write_deployments_with_options(). This
+ line="2292">Older version of ostree_sysroot_write_deployments_with_options(). This
version will perform post-deployment cleanup by default.</doc>
- <source-position filename="ostree-sysroot.h" line="173"/>
+ <source-position filename="ostree-sysroot.h" line="179"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2227">Sysroot</doc>
+ line="2294">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="new_deployments" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2228">List of new deployments</doc>
+ line="2295">List of new deployments</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="Deployment"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2229">Cancellable</doc>
+ line="2296">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2355">Assuming @new_deployments have already been deployed in place on disk via
+ line="2422">Assuming @new_deployments have already been deployed in place on disk via
ostree_sysroot_deploy_tree(), atomically update bootloader configuration. By
default, no post-transaction cleanup will be performed. You should invoke
ostree_sysroot_cleanup() at some point after the transaction, or specify
`do_postclean` in @opts. Skipping the post-transaction cleanup is useful
if for example you want to control pruning of the repository.</doc>
- <source-position filename="ostree-sysroot.h" line="186"/>
+ <source-position filename="ostree-sysroot.h" line="192"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2357">Sysroot</doc>
+ line="2424">Sysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="new_deployments" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2358">List of new deployments</doc>
+ line="2425">List of new deployments</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="Deployment"/>
</array>
<parameter name="opts" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2359">Options</doc>
+ line="2426">Options</doc>
<type name="SysrootWriteDeploymentsOpts"
c:type="OstreeSysrootWriteDeploymentsOpts*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="2360">Cancellable</doc>
+ line="2427">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="951">Immediately replace the origin file of the referenced @deployment
+ line="950">Immediately replace the origin file of the referenced @deployment
with the contents of @new_origin. If @new_origin is %NULL,
this function will write the current origin of @deployment.</doc>
- <source-position filename="ostree-sysroot.h" line="150"/>
+ <source-position filename="ostree-sysroot.h" line="156"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="sysroot" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="953">System root</doc>
+ line="952">System root</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</instance-parameter>
<parameter name="deployment" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="954">Deployment</doc>
+ line="953">Deployment</doc>
<type name="Deployment" c:type="OstreeDeployment*"/>
</parameter>
<parameter name="new_origin"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="955">Origin content</doc>
+ line="954">Origin content</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-deploy.c"
- line="956">Cancellable</doc>
+ line="955">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<glib:signal name="journal-msg" when="last" version="2017.10">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="164">libostree will log to the journal various events, such as the /etc merge
+ line="162">libostree will log to the journal various events, such as the /etc merge
status, and transaction completion. Connect to this signal to also
synchronously receive the text for those messages. This is intended to be
used by command line tools which link to libostree as a library.
<parameter name="msg" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="167">Human-readable string (should not contain newlines)</doc>
+ line="165">Human-readable string (should not contain newlines)</doc>
<type name="utf8" c:type="gchar*"/>
</parameter>
</parameters>
</glib:signal>
</class>
<record name="SysrootDeployTreeOpts" c:type="OstreeSysrootDeployTreeOpts">
- <source-position filename="ostree-sysroot.h" line="205"/>
+ <source-position filename="ostree-sysroot.h" line="211"/>
<field name="unused_bools" writable="1">
<array zero-terminated="0" fixed-size="8">
<type name="gboolean" c:type="gboolean"/>
</record>
<bitfield name="SysrootSimpleWriteDeploymentFlags"
c:type="OstreeSysrootSimpleWriteDeploymentFlags">
- <source-position filename="ostree-sysroot.h" line="294"/>
+ <source-position filename="ostree-sysroot.h" line="300"/>
<member name="none"
value="0"
c:identifier="OSTREE_SYSROOT_SIMPLE_WRITE_DEPLOYMENT_FLAGS_NONE">
<constructor name="new"
c:identifier="ostree_sysroot_upgrader_new"
throws="1">
- <source-position filename="ostree-sysroot-upgrader.h" line="56"/>
+ <source-position filename="ostree-sysroot-upgrader.h" line="54"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="273">An upgrader</doc>
+ line="271">An upgrader</doc>
<type name="SysrootUpgrader" c:type="OstreeSysrootUpgrader*"/>
</return-value>
<parameters>
<parameter name="sysroot" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="269">An #OstreeSysroot</doc>
+ line="267">An #OstreeSysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="270">Cancellable</doc>
+ line="268">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<constructor name="new_for_os"
c:identifier="ostree_sysroot_upgrader_new_for_os"
throws="1">
- <source-position filename="ostree-sysroot-upgrader.h" line="61"/>
+ <source-position filename="ostree-sysroot-upgrader.h" line="59"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="291">An upgrader</doc>
+ line="289">An upgrader</doc>
<type name="SysrootUpgrader" c:type="OstreeSysrootUpgrader*"/>
</return-value>
<parameters>
<parameter name="sysroot" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="286">An #OstreeSysroot</doc>
+ line="284">An #OstreeSysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</parameter>
<parameter name="osname"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="287">Operating system name</doc>
+ line="285">Operating system name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="288">Cancellable</doc>
+ line="286">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<constructor name="new_for_os_with_flags"
c:identifier="ostree_sysroot_upgrader_new_for_os_with_flags"
throws="1">
- <source-position filename="ostree-sysroot-upgrader.h" line="67"/>
+ <source-position filename="ostree-sysroot-upgrader.h" line="65"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="311">An upgrader</doc>
+ line="309">An upgrader</doc>
<type name="SysrootUpgrader" c:type="OstreeSysrootUpgrader*"/>
</return-value>
<parameters>
<parameter name="sysroot" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="305">An #OstreeSysroot</doc>
+ line="303">An #OstreeSysroot</doc>
<type name="Sysroot" c:type="OstreeSysroot*"/>
</parameter>
<parameter name="osname"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="306">Operating system name</doc>
+ line="304">Operating system name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="307">Flags</doc>
+ line="305">Flags</doc>
<type name="SysrootUpgraderFlags"
c:type="OstreeSysrootUpgraderFlags"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="308">Cancellable</doc>
+ line="306">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="403">Check that the timestamp on @to_rev is equal to or newer than
+ line="401">Check that the timestamp on @to_rev is equal to or newer than
@from_rev. This protects systems against man-in-the-middle
attackers which provide a client with an older commit.</doc>
- <source-position filename="ostree-sysroot-upgrader.h" line="85"/>
+ <source-position filename="ostree-sysroot-upgrader.h" line="83"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="405">Repo</doc>
+ line="403">Repo</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
<parameter name="from_rev" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="406">From revision</doc>
+ line="404">From revision</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="to_rev" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="407">To revision</doc>
+ line="405">To revision</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="632">Write the new deployment to disk, perform a configuration merge
+ line="630">Write the new deployment to disk, perform a configuration merge
with /etc, and update the bootloader configuration.</doc>
- <source-position filename="ostree-sysroot-upgrader.h" line="116"/>
+ <source-position filename="ostree-sysroot-upgrader.h" line="114"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="634">Self</doc>
+ line="632">Self</doc>
<type name="SysrootUpgrader" c:type="OstreeSysrootUpgrader*"/>
</instance-parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="635">Cancellable</doc>
+ line="633">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</method>
<method name="dup_origin"
c:identifier="ostree_sysroot_upgrader_dup_origin">
- <source-position filename="ostree-sysroot-upgrader.h" line="76"/>
+ <source-position filename="ostree-sysroot-upgrader.h" line="74"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="340">A copy of the origin file, or %NULL if unknown</doc>
+ line="338">A copy of the origin file, or %NULL if unknown</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="338">Sysroot</doc>
+ line="336">Sysroot</doc>
<type name="SysrootUpgrader" c:type="OstreeSysrootUpgrader*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_origin"
c:identifier="ostree_sysroot_upgrader_get_origin">
- <source-position filename="ostree-sysroot-upgrader.h" line="74"/>
+ <source-position filename="ostree-sysroot-upgrader.h" line="72"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="328">The origin file, or %NULL if unknown</doc>
+ line="326">The origin file, or %NULL if unknown</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="326">Sysroot</doc>
+ line="324">Sysroot</doc>
<type name="SysrootUpgrader" c:type="OstreeSysrootUpgrader*"/>
</instance-parameter>
</parameters>
</method>
<method name="get_origin_description"
c:identifier="ostree_sysroot_upgrader_get_origin_description">
- <source-position filename="ostree-sysroot-upgrader.h" line="82"/>
+ <source-position filename="ostree-sysroot-upgrader.h" line="80"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="393">A one-line descriptive summary of the origin, or %NULL if unknown</doc>
+ line="391">A one-line descriptive summary of the origin, or %NULL if unknown</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="391">Upgrader</doc>
+ line="389">Upgrader</doc>
<type name="SysrootUpgrader" c:type="OstreeSysrootUpgrader*"/>
</instance-parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="442">Perform a pull from the origin. First check if the ref has
+ line="440">Perform a pull from the origin. First check if the ref has
changed, if so download the linked objects, and store the updated
ref locally. Then @out_changed will be %TRUE.
If the origin remote is unchanged, @out_changed will be set to
%FALSE.</doc>
- <source-position filename="ostree-sysroot-upgrader.h" line="97"/>
+ <source-position filename="ostree-sysroot-upgrader.h" line="95"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="444">Upgrader</doc>
+ line="442">Upgrader</doc>
<type name="SysrootUpgrader" c:type="OstreeSysrootUpgrader*"/>
</instance-parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="445">Flags controlling pull behavior</doc>
+ line="443">Flags controlling pull behavior</doc>
<type name="RepoPullFlags" c:type="OstreeRepoPullFlags"/>
</parameter>
<parameter name="upgrader_flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="446">Flags controlling upgrader behavior</doc>
+ line="444">Flags controlling upgrader behavior</doc>
<type name="SysrootUpgraderPullFlags"
c:type="OstreeSysrootUpgraderPullFlags"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="447">Progress</doc>
+ line="445">Progress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</parameter>
<parameter name="out_changed"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="448">Whether or not the origin changed</doc>
+ line="446">Whether or not the origin changed</doc>
<type name="gboolean" c:type="gboolean*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="449">Cancellable</doc>
+ line="447">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="471">Like ostree_sysroot_upgrader_pull(), but allows retrieving just a
+ line="469">Like ostree_sysroot_upgrader_pull(), but allows retrieving just a
subpath of the tree. This can be used to download metadata files
from inside the tree such as package databases.</doc>
- <source-position filename="ostree-sysroot-upgrader.h" line="106"/>
+ <source-position filename="ostree-sysroot-upgrader.h" line="104"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="473">Upgrader</doc>
+ line="471">Upgrader</doc>
<type name="SysrootUpgrader" c:type="OstreeSysrootUpgrader*"/>
</instance-parameter>
<parameter name="dir_to_pull" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="474">Subdirectory path (should include a leading /)</doc>
+ line="472">Subdirectory path (should include a leading /)</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="475">Flags controlling pull behavior</doc>
+ line="473">Flags controlling pull behavior</doc>
<type name="RepoPullFlags" c:type="OstreeRepoPullFlags"/>
</parameter>
<parameter name="upgrader_flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="476">Flags controlling upgrader behavior</doc>
+ line="474">Flags controlling upgrader behavior</doc>
<type name="SysrootUpgraderPullFlags"
c:type="OstreeSysrootUpgraderPullFlags"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="477">Progress</doc>
+ line="475">Progress</doc>
<type name="AsyncProgress" c:type="OstreeAsyncProgress*"/>
</parameter>
<parameter name="out_changed"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="478">Whether or not the origin changed</doc>
+ line="476">Whether or not the origin changed</doc>
<type name="gboolean" c:type="gboolean*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="479">Cancellable</doc>
+ line="477">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="363">Replace the origin with @origin.</doc>
- <source-position filename="ostree-sysroot-upgrader.h" line="78"/>
+ line="361">Replace the origin with @origin.</doc>
+ <source-position filename="ostree-sysroot-upgrader.h" line="76"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<instance-parameter name="self" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="365">Sysroot</doc>
+ line="363">Sysroot</doc>
<type name="SysrootUpgrader" c:type="OstreeSysrootUpgrader*"/>
</instance-parameter>
<parameter name="origin"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="366">The new origin</doc>
+ line="364">The new origin</doc>
<type name="GLib.KeyFile" c:type="GKeyFile*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="367">Cancellable</doc>
+ line="365">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:type="OstreeSysrootUpgraderFlags">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.h"
- line="34">Flags controlling operation of an #OstreeSysrootUpgrader.</doc>
+ line="32">Flags controlling operation of an #OstreeSysrootUpgrader.</doc>
<member name="ignore_unconfigured"
value="2"
c:identifier="OSTREE_SYSROOT_UPGRADER_FLAGS_IGNORE_UNCONFIGURED"
glib:nick="ignore-unconfigured">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.h"
- line="37">Do not error if the origin has an unconfigured-state key</doc>
+ line="35">Do not error if the origin has an unconfigured-state key</doc>
</member>
<member name="stage"
value="4"
glib:nick="stage">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.h"
- line="38">Enable "staging" (finalization at shutdown); recommended
+ line="36">Enable "staging" (finalization at shutdown); recommended
(Since: 2021.4)</doc>
</member>
</bitfield>
<bitfield name="SysrootUpgraderPullFlags"
c:type="OstreeSysrootUpgraderPullFlags">
- <source-position filename="ostree-sysroot-upgrader.h" line="94"/>
+ <source-position filename="ostree-sysroot-upgrader.h" line="92"/>
<member name="none"
value="0"
c:identifier="OSTREE_SYSROOT_UPGRADER_PULL_FLAGS_NONE">
</bitfield>
<record name="SysrootWriteDeploymentsOpts"
c:type="OstreeSysrootWriteDeploymentsOpts">
- <source-position filename="ostree-sysroot.h" line="183"/>
+ <source-position filename="ostree-sysroot.h" line="189"/>
<field name="do_postclean" writable="1">
<type name="gboolean" c:type="gboolean"/>
</field>
<constant name="TIMESTAMP" value="0" c:type="OSTREE_TIMESTAMP">
<doc xml:space="preserve"
filename="ostree-core.h"
- line="176">The mtime used for stored files. This was originally 0, changed to 1 for
+ line="180">The mtime used for stored files. This was originally 0, changed to 1 for
a few releases, then was reverted due to regressions it introduced from
users who had been using zero before.</doc>
- <source-position filename="ostree-core.h" line="183"/>
+ <source-position filename="ostree-core.h" line="187"/>
<type name="gint" c:type="gint"/>
</constant>
<constant name="TREE_GVARIANT_STRING"
value="(a(say)a(sayay))"
c:type="OSTREE_TREE_GVARIANT_STRING">
- <source-position filename="ostree-core.h" line="134"/>
+ <source-position filename="ostree-core.h" line="136"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="VERSION"
- value="2021.500000"
+ value="2022.200000"
c:type="OSTREE_VERSION"
version="2017.4">
<doc xml:space="preserve"
filename="ostree-version.h"
- line="48">ostree version.</doc>
- <source-position filename="ostree-version.h" line="55"/>
+ line="46">ostree version.</doc>
+ <source-position filename="ostree-version.h" line="53"/>
<type name="gdouble" c:type="gdouble"/>
</constant>
<constant name="VERSION_S"
- value="2021.5"
+ value="2022.2"
c:type="OSTREE_VERSION_S"
version="2017.4">
<doc xml:space="preserve"
filename="ostree-version.h"
- line="57">ostree version, encoded as a string, useful for printing and
+ line="55">ostree version, encoded as a string, useful for printing and
concatenation.</doc>
- <source-position filename="ostree-version.h" line="65"/>
+ <source-position filename="ostree-version.h" line="63"/>
<type name="utf8" c:type="gchar*"/>
</constant>
<constant name="YEAR_VERSION"
- value="2021"
+ value="2022"
c:type="OSTREE_YEAR_VERSION"
version="2017.4">
<doc xml:space="preserve"
filename="ostree-version.h"
- line="30">ostree year version component (e.g. 2017 if %OSTREE_VERSION is 2017.2)</doc>
- <source-position filename="ostree-version.h" line="37"/>
+ line="28">ostree year version component (e.g. 2017 if %OSTREE_VERSION is 2017.2)</doc>
+ <source-position filename="ostree-version.h" line="35"/>
<type name="gint" c:type="gint"/>
</constant>
<docsection name="bloom">
<doc xml:space="preserve"
filename="ostree-bloom.c"
- line="36">#OstreeBloom is an implementation of a bloom filter which supports writing to
+ line="34">#OstreeBloom is an implementation of a bloom filter which supports writing to
and loading from a #GBytes bit array. The caller must store metadata about
the bloom filter (its hash function and `k` parameter value) separately, as
the same values must be used when reading from a serialised bit array as were
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="782">In many cases using libostree, a program may need to "break"
+ line="781">In many cases using libostree, a program may need to "break"
hardlinks by performing a copy. For example, in order to
logically append to a file.
`fdatasync()`; the idea is this will commonly be done as part
of an `ostree_repo_commit_transaction()`, which itself takes
care of synchronization.</doc>
- <source-position filename="ostree-core.h" line="455"/>
+ <source-position filename="ostree-core.h" line="461"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="784">Directory fd</doc>
+ line="783">Directory fd</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="785">Path relative to @dfd</doc>
+ line="784">Path relative to @dfd</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="skip_xattrs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="786">Do not copy extended attributes</doc>
+ line="785">Do not copy extended attributes</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="cancellable"
<function name="check_version"
c:identifier="ostree_check_version"
version="2017.4">
- <source-position filename="ostree-core.h" line="584"/>
+ <source-position filename="ostree-core.h" line="590"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2719">%TRUE if current libostree has at least the requested version, %FALSE otherwise</doc>
+ line="2741">%TRUE if current libostree has at least the requested version, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="required_year" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2716">Major/year required</doc>
+ line="2738">Major/year required</doc>
<type name="guint" c:type="guint"/>
</parameter>
<parameter name="required_release" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2717">Release version required</doc>
+ line="2739">Release version required</doc>
<type name="guint" c:type="guint"/>
</parameter>
</parameters>
<function name="checksum_b64_from_bytes"
c:identifier="ostree_checksum_b64_from_bytes"
version="2016.8">
- <source-position filename="ostree-core.h" line="313"/>
+ <source-position filename="ostree-core.h" line="319"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1560">Modified base64 encoding of @csum
+ line="1567">Modified base64 encoding of @csum
The "modified" term refers to the fact that instead of '/', the '_'
character is used.</doc>
<parameter name="csum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1558">An binary checksum of length 32</doc>
+ line="1565">An binary checksum of length 32</doc>
<array zero-terminated="0" c:type="const guchar*" fixed-size="32">
<type name="guint8" c:type="guchar"/>
</array>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1488">Overwrite the contents of @buf with modified base64 encoding of @csum.
+ line="1495">Overwrite the contents of @buf with modified base64 encoding of @csum.
The "modified" term refers to the fact that instead of '/', the '_'
character is used.</doc>
- <source-position filename="ostree-core.h" line="319"/>
+ <source-position filename="ostree-core.h" line="325"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="csum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1490">An binary checksum of length 32</doc>
+ line="1497">An binary checksum of length 32</doc>
<array zero-terminated="0" c:type="const guchar*" fixed-size="32">
<type name="guint8" c:type="guchar"/>
</array>
<parameter name="buf" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1491">Output location, must be at least 44 bytes in length</doc>
+ line="1498">Output location, must be at least 44 bytes in length</doc>
<type name="utf8" c:type="char*"/>
</parameter>
</parameters>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1369">Overwrite the contents of @buf with stringified version of @csum.</doc>
- <source-position filename="ostree-core.h" line="305"/>
+ line="1376">Overwrite the contents of @buf with stringified version of @csum.</doc>
+ <source-position filename="ostree-core.h" line="311"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1371">An binary checksum of length 32</doc>
+ line="1378">An binary checksum of length 32</doc>
<array zero-terminated="0" c:type="const char*" fixed-size="32">
<type name="utf8" c:type="char"/>
</array>
<parameter name="buf" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1372">Output location, must be at least 45 bytes in length</doc>
+ line="1379">Output location, must be at least 45 bytes in length</doc>
<type name="guint8" c:type="guint8*"/>
</parameter>
</parameters>
<function name="checksum_b64_to_bytes"
c:identifier="ostree_checksum_b64_to_bytes"
version="2016.8">
- <source-position filename="ostree-core.h" line="303"/>
+ <source-position filename="ostree-core.h" line="309"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1462">Binary version of @checksum.</doc>
+ line="1469">Binary version of @checksum.</doc>
<array zero-terminated="0" c:type="guchar*" fixed-size="32">
<type name="guint8" c:type="guchar"/>
</array>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1460">An ASCII checksum</doc>
+ line="1467">An ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</function>
<function name="checksum_bytes_peek"
c:identifier="ostree_checksum_bytes_peek">
- <source-position filename="ostree-core.h" line="327"/>
+ <source-position filename="ostree-core.h" line="333"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1579">Binary checksum data in @bytes; do not free. If @bytes does not have the correct length, return %NULL.</doc>
+ line="1586">Binary checksum data in @bytes; do not free. If @bytes does not have the correct length, return %NULL.</doc>
<array zero-terminated="0" c:type="const guchar*" fixed-size="32">
<type name="guint8"/>
</array>
<parameter name="bytes" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1577">#GVariant of type ay</doc>
+ line="1584">#GVariant of type ay</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1592">Like ostree_checksum_bytes_peek(), but also throws @error.</doc>
- <source-position filename="ostree-core.h" line="330"/>
+ line="1599">Like ostree_checksum_bytes_peek(), but also throws @error.</doc>
+ <source-position filename="ostree-core.h" line="336"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1599">Binary checksum data</doc>
+ line="1606">Binary checksum data</doc>
<array zero-terminated="0" c:type="const guchar*" fixed-size="32">
<type name="guint8"/>
</array>
<parameter name="bytes" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1594">#GVariant of type ay</doc>
+ line="1601">#GVariant of type ay</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="893">Compute the OSTree checksum for a given file.</doc>
- <source-position filename="ostree-core.h" line="448"/>
+ line="892">Compute the OSTree checksum for a given file.</doc>
+ <source-position filename="ostree-core.h" line="454"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="f" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="895">File path</doc>
+ line="894">File path</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="896">Object type</doc>
+ line="895">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="out_csum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="897">Return location for binary checksum</doc>
+ line="896">Return location for binary checksum</doc>
<array zero-terminated="0" c:type="guchar**" fixed-size="32">
<type name="guint8" c:type="guchar*"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="898">Cancellable</doc>
+ line="897">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
c:identifier="ostree_checksum_file_async">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1060">Asynchronously compute the OSTree checksum for a given file;
+ line="1059">Asynchronously compute the OSTree checksum for a given file;
complete with ostree_checksum_file_async_finish().</doc>
- <source-position filename="ostree-core.h" line="491"/>
+ <source-position filename="ostree-core.h" line="497"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="f" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1062">File path</doc>
+ line="1061">File path</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1063">Object type</doc>
+ line="1062">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="io_priority" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1064">Priority for operation, see %G_IO_PRIORITY_DEFAULT</doc>
+ line="1063">Priority for operation, see %G_IO_PRIORITY_DEFAULT</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1065">Cancellable</doc>
+ line="1064">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="5">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1066">Invoked when operation is complete</doc>
+ line="1065">Invoked when operation is complete</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1067">Data for @callback</doc>
+ line="1066">Data for @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1094">Finish computing the OSTree checksum for a given file; see
+ line="1093">Finish computing the OSTree checksum for a given file; see
ostree_checksum_file_async().</doc>
- <source-position filename="ostree-core.h" line="499"/>
+ <source-position filename="ostree-core.h" line="505"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="f" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1096">File path</doc>
+ line="1095">File path</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1097">Async result</doc>
+ line="1096">Async result</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
<parameter name="out_csum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1098">Return location for binary checksum</doc>
+ line="1097">Return location for binary checksum</doc>
<array zero-terminated="0" c:type="guchar**" fixed-size="32">
<type name="guint8" c:type="guchar*"/>
</array>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="945">Compute the OSTree checksum for a given file. This is an fd-relative version
+ line="944">Compute the OSTree checksum for a given file. This is an fd-relative version
of ostree_checksum_file() which also takes flags and fills in a caller
allocated buffer.</doc>
- <source-position filename="ostree-core.h" line="481"/>
+ <source-position filename="ostree-core.h" line="487"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="947">Directory file descriptor</doc>
+ line="946">Directory file descriptor</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="948">Subpath
+ line="947">Subpath
@stbuf (allow-none): Optional stat buffer</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="950">Object type</doc>
+ line="949">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="951">Flags
+ line="950">Flags
@out_checksum (out) (transfer full): Return location for hex checksum</doc>
<type name="ChecksumFlags" c:type="OstreeChecksumFlags"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="953">Cancellable</doc>
+ line="952">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="839">Compute the OSTree checksum for a given input.</doc>
- <source-position filename="ostree-core.h" line="439"/>
+ line="838">Compute the OSTree checksum for a given input.</doc>
+ <source-position filename="ostree-core.h" line="445"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="file_info" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="841">File information</doc>
+ line="840">File information</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="842">Optional extended attributes</doc>
+ line="841">Optional extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="in"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="843">File content, should be %NULL for symbolic links</doc>
+ line="842">File content, should be %NULL for symbolic links</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="844">Object type</doc>
+ line="843">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
<parameter name="out_csum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="845">Return location for binary checksum</doc>
+ line="844">Return location for binary checksum</doc>
<array zero-terminated="0" c:type="guchar**" fixed-size="32">
<type name="guint8" c:type="guchar*"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="846">Cancellable</doc>
+ line="845">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</function>
<function name="checksum_from_bytes"
c:identifier="ostree_checksum_from_bytes">
- <source-position filename="ostree-core.h" line="309"/>
+ <source-position filename="ostree-core.h" line="315"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1534">String form of @csum</doc>
+ line="1541">String form of @csum</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<parameter name="csum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1532">An binary checksum of length 32</doc>
+ line="1539">An binary checksum of length 32</doc>
<array zero-terminated="0" c:type="const guchar*" fixed-size="32">
<type name="guint8" c:type="guchar"/>
</array>
</function>
<function name="checksum_from_bytes_v"
c:identifier="ostree_checksum_from_bytes_v">
- <source-position filename="ostree-core.h" line="311"/>
+ <source-position filename="ostree-core.h" line="317"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1548">String form of @csum_bytes</doc>
+ line="1555">String form of @csum_bytes</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<parameter name="csum_v" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1546">#GVariant of type ay</doc>
+ line="1553">#GVariant of type ay</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1474">Overwrite the contents of @buf with stringified version of @csum.</doc>
- <source-position filename="ostree-core.h" line="316"/>
+ line="1481">Overwrite the contents of @buf with stringified version of @csum.</doc>
+ <source-position filename="ostree-core.h" line="322"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="csum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1476">An binary checksum of length 32</doc>
+ line="1483">An binary checksum of length 32</doc>
<array zero-terminated="0" c:type="const guchar*" fixed-size="32">
<type name="guint8" c:type="guchar"/>
</array>
<parameter name="buf" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1477">Output location, must be at least OSTREE_SHA256_STRING_LEN+1 bytes in length</doc>
+ line="1484">Output location, must be at least OSTREE_SHA256_STRING_LEN+1 bytes in length</doc>
<type name="utf8" c:type="char*"/>
</parameter>
</parameters>
c:identifier="ostree_checksum_inplace_to_bytes">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1398">Convert @checksum from a string to binary in-place, without
+ line="1405">Convert @checksum from a string to binary in-place, without
allocating memory. Use this function in hot code paths.</doc>
- <source-position filename="ostree-core.h" line="323"/>
+ <source-position filename="ostree-core.h" line="329"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1400">a SHA256 string</doc>
+ line="1407">a SHA256 string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="buf" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1401">Output buffer with at least 32 bytes of space</doc>
+ line="1408">Output buffer with at least 32 bytes of space</doc>
<type name="guint8" c:type="guchar*"/>
</parameter>
</parameters>
</function>
<function name="checksum_to_bytes" c:identifier="ostree_checksum_to_bytes">
- <source-position filename="ostree-core.h" line="299"/>
+ <source-position filename="ostree-core.h" line="305"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1434">Binary checksum from @checksum of length 32; free with g_free().</doc>
+ line="1441">Binary checksum from @checksum of length 32; free with g_free().</doc>
<array zero-terminated="0" c:type="guchar*" fixed-size="32">
<type name="guint8" c:type="guchar"/>
</array>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1432">An ASCII checksum</doc>
+ line="1439">An ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</function>
<function name="checksum_to_bytes_v"
c:identifier="ostree_checksum_to_bytes_v">
- <source-position filename="ostree-core.h" line="301"/>
+ <source-position filename="ostree-core.h" line="307"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1448">New #GVariant of type ay with length 32</doc>
+ line="1455">New #GVariant of type ay with length 32</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
<parameters>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1446">An ASCII checksum</doc>
+ line="1453">An ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
</function>
<function name="cmd__private__" c:identifier="ostree_cmd__private__">
- <source-position filename="ostree-cmdprivate.h" line="42"/>
+ <source-position filename="ostree-cmdprivate.h" line="40"/>
<return-value transfer-ownership="none">
<type name="CmdPrivateVTable" c:type="const OstreeCmdPrivateVTable*"/>
</return-value>
c:identifier="ostree_cmp_checksum_bytes">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1320">Compare two binary checksums, using memcmp().</doc>
- <source-position filename="ostree-core.h" line="333"/>
+ line="1327">Compare two binary checksums, using memcmp().</doc>
+ <source-position filename="ostree-core.h" line="339"/>
<return-value transfer-ownership="none">
<type name="gint" c:type="int"/>
</return-value>
<parameter name="a" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1322">A binary checksum</doc>
+ line="1329">A binary checksum</doc>
<type name="guint8" c:type="const guchar*"/>
</parameter>
<parameter name="b" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1323">A binary checksum</doc>
+ line="1330">A binary checksum</doc>
<type name="guint8" c:type="const guchar*"/>
</parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="147">Copy an array of #OstreeCollectionRefs, including deep copies of all its
+ line="145">Copy an array of #OstreeCollectionRefs, including deep copies of all its
elements. @refs must be %NULL-terminated; it may be empty, but must not be
%NULL.</doc>
- <source-position filename="ostree-ref.h" line="71"/>
+ <source-position filename="ostree-ref.h" line="69"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="155">a newly allocated copy of @refs</doc>
+ line="153">a newly allocated copy of @refs</doc>
<array c:type="OstreeCollectionRef**">
<type name="CollectionRef" c:type="OstreeCollectionRef*"/>
</array>
<parameter name="refs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="149">%NULL-terminated array of #OstreeCollectionRefs</doc>
+ line="147">%NULL-terminated array of #OstreeCollectionRefs</doc>
<array c:type="const OstreeCollectionRef* const*">
<type name="CollectionRef" c:type="OstreeCollectionRef*"/>
</array>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="126">Compare @ref1 and @ref2 and return %TRUE if they have the same collection ID and
+ line="124">Compare @ref1 and @ref2 and return %TRUE if they have the same collection ID and
ref name, and %FALSE otherwise. Both @ref1 and @ref2 must be non-%NULL.</doc>
- <source-position filename="ostree-ref.h" line="67"/>
+ <source-position filename="ostree-ref.h" line="65"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="134">%TRUE if @ref1 and @ref2 are equal, %FALSE otherwise</doc>
+ line="132">%TRUE if @ref1 and @ref2 are equal, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="ref1" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="128">an #OstreeCollectionRef</doc>
+ line="126">an #OstreeCollectionRef</doc>
<type name="gpointer" c:type="gconstpointer"/>
</parameter>
<parameter name="ref2" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="129">another #OstreeCollectionRef</doc>
+ line="127">another #OstreeCollectionRef</doc>
<type name="gpointer" c:type="gconstpointer"/>
</parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="175">Free the given array of @refs, including freeing all its elements. @refs
+ line="173">Free the given array of @refs, including freeing all its elements. @refs
must be %NULL-terminated; it may be empty, but must not be %NULL.</doc>
- <source-position filename="ostree-ref.h" line="73"/>
+ <source-position filename="ostree-ref.h" line="71"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="refs" transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="177">an array of #OstreeCollectionRefs</doc>
+ line="175">an array of #OstreeCollectionRefs</doc>
<array c:type="OstreeCollectionRef**">
<type name="CollectionRef" c:type="OstreeCollectionRef*"/>
</array>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="105">Hash the given @ref. This function is suitable for use with #GHashTable.
+ line="103">Hash the given @ref. This function is suitable for use with #GHashTable.
@ref must be non-%NULL.</doc>
- <source-position filename="ostree-ref.h" line="65"/>
+ <source-position filename="ostree-ref.h" line="63"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="112">hash value for @ref</doc>
+ line="110">hash value for @ref</doc>
<type name="guint" c:type="guint"/>
</return-value>
<parameters>
<parameter name="ref" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-ref.c"
- line="107">an #OstreeCollectionRef</doc>
+ line="105">an #OstreeCollectionRef</doc>
<type name="gpointer" c:type="gconstpointer"/>
</parameter>
</parameters>
version="2018.2">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2400">There are use cases where one wants a checksum just of the content of a
+ line="2422">There are use cases where one wants a checksum just of the content of a
commit. OSTree commits by default capture the current timestamp, and may have
additional metadata, which means that re-committing identical content
often results in a new checksum.
The content checksums is simply defined as `SHA256(root dirtree_checksum || root_dirmeta_checksum)`,
i.e. the SHA-256 of the root "dirtree" object's checksum concatenated with the
root "dirmeta" checksum (both in binary form, not hexadecimal).</doc>
- <source-position filename="ostree-core.h" line="544"/>
+ <source-position filename="ostree-core.h" line="550"/>
<return-value transfer-ownership="full" nullable="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2416">A SHA-256 hex string, or %NULL if @commit_variant is not well-formed</doc>
+ line="2438">A SHA-256 hex string, or %NULL if @commit_variant is not well-formed</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameters>
<parameter name="commit_variant" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2402">A commit object</doc>
+ line="2424">A commit object</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2574">Reads a commit's "ostree.sizes" metadata and returns an array of
+ line="2596">Reads a commit's "ostree.sizes" metadata and returns an array of
#OstreeCommitSizesEntry in @out_sizes_entries. Each element
represents an object in the commit. If the commit does not contain
the "ostree.sizes" metadata, a %G_IO_ERROR_NOT_FOUND error will be
returned.</doc>
- <source-position filename="ostree-core.h" line="579"/>
+ <source-position filename="ostree-core.h" line="585"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="commit_variant" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2576">variant of type %OSTREE_OBJECT_TYPE_COMMIT</doc>
+ line="2598">variant of type %OSTREE_OBJECT_TYPE_COMMIT</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_sizes_entries"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2577">
+ line="2599">
return location for an array of object size entries</doc>
<array name="GLib.PtrArray" c:type="GPtrArray**">
<type name="CommitSizesEntry"/>
</parameters>
</function>
<function name="commit_get_parent" c:identifier="ostree_commit_get_parent">
- <source-position filename="ostree-core.h" line="539"/>
+ <source-position filename="ostree-core.h" line="545"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2371">Checksum of the parent commit of @commit_variant, or %NULL
+ line="2393">Checksum of the parent commit of @commit_variant, or %NULL
if none</doc>
<type name="utf8" c:type="gchar*"/>
</return-value>
<parameter name="commit_variant" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2369">Variant of type %OSTREE_OBJECT_TYPE_COMMIT</doc>
+ line="2391">Variant of type %OSTREE_OBJECT_TYPE_COMMIT</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
<function name="commit_get_timestamp"
c:identifier="ostree_commit_get_timestamp"
version="2016.3">
- <source-position filename="ostree-core.h" line="541"/>
+ <source-position filename="ostree-core.h" line="547"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2388">timestamp in seconds since the Unix epoch, UTC</doc>
+ line="2410">timestamp in seconds since the Unix epoch, UTC</doc>
<type name="guint64" c:type="guint64"/>
</return-value>
<parameters>
<parameter name="commit_variant" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2386">Commit object</doc>
+ line="2408">Commit object</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-os.c"
- line="33">Update provided @dict with standard metadata for bootable OSTree commits.</doc>
- <source-position filename="ostree-repo-os.h" line="45"/>
+ line="31">Update provided @dict with standard metadata for bootable OSTree commits.</doc>
+ <source-position filename="ostree-repo-os.h" line="43"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="root" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-os.c"
- line="35">Root filesystem to be committed</doc>
+ line="33">Root filesystem to be committed</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="dict" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-os.c"
- line="36">Dictionary to update</doc>
+ line="34">Dictionary to update</doc>
<type name="GLib.VariantDict" c:type="GVariantDict*"/>
</parameter>
<parameter name="cancellable"
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="707">A thin wrapper for ostree_content_stream_parse(); this function
+ line="706">A thin wrapper for ostree_content_stream_parse(); this function
converts an object content stream back into components.</doc>
- <source-position filename="ostree-core.h" line="390"/>
+ <source-position filename="ostree-core.h" line="396"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="compressed" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="709">Whether or not the stream is zlib-compressed</doc>
+ line="708">Whether or not the stream is zlib-compressed</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="content_path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="710">Path to file containing content</doc>
+ line="709">Path to file containing content</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="trusted" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="711">If %TRUE, assume the content has been validated</doc>
+ line="710">If %TRUE, assume the content has been validated</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="712">The raw file content stream</doc>
+ line="711">The raw file content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_file_info"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="713">Normal metadata</doc>
+ line="712">Normal metadata</doc>
<type name="Gio.FileInfo" c:type="GFileInfo**"/>
</parameter>
<parameter name="out_xattrs"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="714">Extended attributes</doc>
+ line="713">Extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="715">Cancellable</doc>
+ line="714">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="656">A thin wrapper for ostree_content_stream_parse(); this function
+ line="655">A thin wrapper for ostree_content_stream_parse(); this function
converts an object content stream back into components.</doc>
- <source-position filename="ostree-core.h" line="400"/>
+ <source-position filename="ostree-core.h" line="406"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="compressed" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="658">Whether or not the stream is zlib-compressed</doc>
+ line="657">Whether or not the stream is zlib-compressed</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="parent_dfd" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="659">Directory file descriptor</doc>
+ line="658">Directory file descriptor</doc>
<type name="gint" c:type="int"/>
</parameter>
<parameter name="path" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="660">Subpath</doc>
+ line="659">Subpath</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="trusted" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="661">If %TRUE, assume the content has been validated</doc>
+ line="660">If %TRUE, assume the content has been validated</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="662">The raw file content stream</doc>
+ line="661">The raw file content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_file_info"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="663">Normal metadata</doc>
+ line="662">Normal metadata</doc>
<type name="Gio.FileInfo" c:type="GFileInfo**"/>
</parameter>
<parameter name="out_xattrs"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="664">Extended attributes</doc>
+ line="663">Extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="665">Cancellable</doc>
+ line="664">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="557">The reverse of ostree_raw_file_to_content_stream(); this function
+ line="556">The reverse of ostree_raw_file_to_content_stream(); this function
converts an object content stream back into components.</doc>
- <source-position filename="ostree-core.h" line="379"/>
+ <source-position filename="ostree-core.h" line="385"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="compressed" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="559">Whether or not the stream is zlib-compressed</doc>
+ line="558">Whether or not the stream is zlib-compressed</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="560">Object content stream</doc>
+ line="559">Object content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="input_length" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="561">Length of stream</doc>
+ line="560">Length of stream</doc>
<type name="guint64" c:type="guint64"/>
</parameter>
<parameter name="trusted" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="562">If %TRUE, assume the content has been validated</doc>
+ line="561">If %TRUE, assume the content has been validated</doc>
<type name="gboolean" c:type="gboolean"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="563">The raw file content stream</doc>
+ line="562">The raw file content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_file_info"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="564">Normal metadata</doc>
+ line="563">Normal metadata</doc>
<type name="Gio.FileInfo" c:type="GFileInfo**"/>
</parameter>
<parameter name="out_xattrs"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="565">Extended attributes</doc>
+ line="564">Extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="566">Cancellable</doc>
+ line="565">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
</function>
<function name="create_directory_metadata"
c:identifier="ostree_create_directory_metadata">
- <source-position filename="ostree-core.h" line="505"/>
+ <source-position filename="ostree-core.h" line="511"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1146">A new #GVariant containing %OSTREE_OBJECT_TYPE_DIR_META</doc>
+ line="1145">A new #GVariant containing %OSTREE_OBJECT_TYPE_DIR_META</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
<parameters>
<parameter name="dir_info" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1143">a #GFileInfo containing directory information</doc>
+ line="1142">a #GFileInfo containing directory information</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1144">Optional extended attributes</doc>
+ line="1143">Optional extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
<function name="diff_dirs" c:identifier="ostree_diff_dirs" throws="1">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="199">Compute the difference between directory @a and @b as 3 separate
+ line="197">Compute the difference between directory @a and @b as 3 separate
sets of #OstreeDiffItem in @modified, @removed, and @added.</doc>
- <source-position filename="ostree-diff.h" line="66"/>
+ <source-position filename="ostree-diff.h" line="64"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="201">Flags</doc>
+ line="199">Flags</doc>
<type name="DiffFlags" c:type="OstreeDiffFlags"/>
</parameter>
<parameter name="a" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="202">First directory path, or %NULL</doc>
+ line="200">First directory path, or %NULL</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="b" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="203">First directory path</doc>
+ line="201">First directory path</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="modified" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="204">Modified files</doc>
+ line="202">Modified files</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="DiffItem"/>
</array>
<parameter name="removed" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="205">Removed files</doc>
+ line="203">Removed files</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="Gio.File"/>
</array>
<parameter name="added" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="206">Added files</doc>
+ line="204">Added files</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="Gio.File"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="207">Cancellable</doc>
+ line="205">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="228">Compute the difference between directory @a and @b as 3 separate
+ line="226">Compute the difference between directory @a and @b as 3 separate
sets of #OstreeDiffItem in @modified, @removed, and @added.</doc>
- <source-position filename="ostree-diff.h" line="102"/>
+ <source-position filename="ostree-diff.h" line="100"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="flags" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="230">Flags</doc>
+ line="228">Flags</doc>
<type name="DiffFlags" c:type="OstreeDiffFlags"/>
</parameter>
<parameter name="a" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="231">First directory path, or %NULL</doc>
+ line="229">First directory path, or %NULL</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="b" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="232">First directory path</doc>
+ line="230">First directory path</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="modified" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="233">Modified files</doc>
+ line="231">Modified files</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="DiffItem"/>
</array>
<parameter name="removed" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="234">Removed files</doc>
+ line="232">Removed files</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="Gio.File"/>
</array>
<parameter name="added" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="235">Added files</doc>
+ line="233">Added files</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="Gio.File"/>
</array>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="237">Options</doc>
+ line="235">Options</doc>
<type name="DiffDirsOptions" c:type="OstreeDiffDirsOptions*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="236">Cancellable</doc>
+ line="234">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<function name="diff_print" c:identifier="ostree_diff_print">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="480">Print the contents of a diff to stdout.</doc>
- <source-position filename="ostree-diff.h" line="113"/>
+ line="478">Print the contents of a diff to stdout.</doc>
+ <source-position filename="ostree-diff.h" line="111"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="a" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="482">First directory path</doc>
+ line="480">First directory path</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="b" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="483">First directory path</doc>
+ line="481">First directory path</doc>
<type name="Gio.File" c:type="GFile*"/>
</parameter>
<parameter name="modified" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="484">Modified files</doc>
+ line="482">Modified files</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="DiffItem"/>
</array>
<parameter name="removed" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="485">Removed files</doc>
+ line="483">Removed files</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="Gio.File"/>
</array>
<parameter name="added" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-diff.c"
- line="486">Added files</doc>
+ line="484">Added files</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="Gio.File"/>
</array>
<function name="hash_object_name" c:identifier="ostree_hash_object_name">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1301">Use this function with #GHashTable and ostree_object_name_serialize().</doc>
- <source-position filename="ostree-core.h" line="357"/>
+ line="1308">Use this function with #GHashTable and ostree_object_name_serialize().</doc>
+ <source-position filename="ostree-core.h" line="363"/>
<return-value transfer-ownership="none">
<type name="guint" c:type="guint"/>
</return-value>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1303">A #GVariant containing a serialized object</doc>
+ line="1310">A #GVariant containing a serialized object</doc>
<type name="gpointer" c:type="gconstpointer"/>
</parameter>
</parameters>
version="2019.3">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="216">Frees the OstreeKernelArgs structure pointed by *loc</doc>
- <source-position filename="ostree-kernel-args.h" line="71"/>
+ line="214">Frees the OstreeKernelArgs structure pointed by *loc</doc>
+ <source-position filename="ostree-kernel-args.h" line="69"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="218">Address of an OstreeKernelArgs pointer</doc>
+ line="216">Address of an OstreeKernelArgs pointer</doc>
<type name="gpointer" c:type="void*"/>
</parameter>
</parameters>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="683">Initializes a new OstreeKernelArgs then parses and appends @options
+ line="681">Initializes a new OstreeKernelArgs then parses and appends @options
to the empty OstreeKernelArgs</doc>
- <source-position filename="ostree-kernel-args.h" line="127"/>
+ <source-position filename="ostree-kernel-args.h" line="125"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="690">newly allocated #OstreeKernelArgs with @options appended</doc>
+ line="688">newly allocated #OstreeKernelArgs with @options appended</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</return-value>
<parameters>
<parameter name="options" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="685">a string representing command line arguments</doc>
+ line="683">a string representing command line arguments</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
introspectable="0">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="176">Initializes a new OstreeKernelArgs structure and returns it</doc>
- <source-position filename="ostree-kernel-args.h" line="68"/>
+ line="174">Initializes a new OstreeKernelArgs structure and returns it</doc>
+ <source-position filename="ostree-kernel-args.h" line="66"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-kernel-args.c"
- line="181">A newly created #OstreeKernelArgs for kernel arguments</doc>
+ line="179">A newly created #OstreeKernelArgs for kernel arguments</doc>
<type name="KernelArgs" c:type="OstreeKernelArgs*"/>
</return-value>
</function>
<function name="metadata_variant_type"
c:identifier="ostree_metadata_variant_type">
- <source-position filename="ostree-core.h" line="292"/>
+ <source-position filename="ostree-core.h" line="298"/>
<return-value transfer-ownership="none">
<type name="GLib.VariantType" c:type="const GVariantType*"/>
</return-value>
c:identifier="ostree_object_from_string">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1280">Reverse ostree_object_to_string().</doc>
- <source-position filename="ostree-core.h" line="373"/>
+ line="1287">Reverse ostree_object_to_string().</doc>
+ <source-position filename="ostree-core.h" line="379"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="str" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1282">An ASCII checksum</doc>
+ line="1289">An ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_checksum"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1283">Parsed checksum</doc>
+ line="1290">Parsed checksum</doc>
<type name="utf8" c:type="gchar**"/>
</parameter>
<parameter name="out_objtype"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1284">Parsed object type</doc>
+ line="1291">Parsed object type</doc>
<type name="ObjectType" c:type="OstreeObjectType*"/>
</parameter>
</parameters>
c:identifier="ostree_object_name_deserialize">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1350">Reverse ostree_object_name_serialize(). Note that @out_checksum is
+ line="1357">Reverse ostree_object_name_serialize(). Note that @out_checksum is
only valid for the lifetime of @variant, and must not be freed.</doc>
- <source-position filename="ostree-core.h" line="364"/>
+ <source-position filename="ostree-core.h" line="370"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="variant" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1352">A #GVariant of type (su)</doc>
+ line="1359">A #GVariant of type (su)</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_checksum"
transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1353">Pointer into string memory of @variant with checksum</doc>
+ line="1360">Pointer into string memory of @variant with checksum</doc>
<type name="utf8" c:type="const char**"/>
</parameter>
<parameter name="out_objtype"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1354">Return object type</doc>
+ line="1361">Return object type</doc>
<type name="ObjectType" c:type="OstreeObjectType*"/>
</parameter>
</parameters>
</function>
<function name="object_name_serialize"
c:identifier="ostree_object_name_serialize">
- <source-position filename="ostree-core.h" line="360"/>
+ <source-position filename="ostree-core.h" line="366"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1339">A new floating #GVariant containing checksum string and objtype</doc>
+ line="1346">A new floating #GVariant containing checksum string and objtype</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</return-value>
<parameters>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1336">An ASCII checksum</doc>
+ line="1343">An ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1337">An object type</doc>
+ line="1344">An object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
</parameters>
</function>
<function name="object_to_string" c:identifier="ostree_object_to_string">
- <source-position filename="ostree-core.h" line="369"/>
+ <source-position filename="ostree-core.h" line="375"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1271">A string containing both @checksum and a stringifed version of @objtype</doc>
+ line="1278">A string containing both @checksum and a stringifed version of @objtype</doc>
<type name="utf8" c:type="char*"/>
</return-value>
<parameters>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1268">An ASCII checksum</doc>
+ line="1275">An ASCII checksum</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1269">Object type</doc>
+ line="1276">Object type</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
</parameters>
c:identifier="ostree_object_type_from_string">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1239">The reverse of ostree_object_type_to_string().</doc>
- <source-position filename="ostree-core.h" line="354"/>
+ line="1242">The reverse of ostree_object_type_to_string().</doc>
+ <source-position filename="ostree-core.h" line="360"/>
<return-value transfer-ownership="none">
<type name="ObjectType" c:type="OstreeObjectType"/>
</return-value>
<parameter name="str" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1241">A stringified version of #OstreeObjectType</doc>
+ line="1244">A stringified version of #OstreeObjectType</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
c:identifier="ostree_object_type_to_string">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1208">Serialize @objtype to a string; this is used for file extensions.</doc>
- <source-position filename="ostree-core.h" line="351"/>
+ line="1207">Serialize @objtype to a string; this is used for file extensions.</doc>
+ <source-position filename="ostree-core.h" line="357"/>
<return-value transfer-ownership="none">
<type name="utf8" c:type="const char*"/>
</return-value>
<parameter name="objtype" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="1210">an #OstreeObjectType</doc>
+ line="1209">an #OstreeObjectType</doc>
<type name="ObjectType" c:type="OstreeObjectType"/>
</parameter>
</parameters>
<docsection name="ostree-async-progress">
<doc xml:space="preserve"
filename="ostree-async-progress.c"
- line="28">For many asynchronous operations, it's desirable for callers to be
+ line="26">For many asynchronous operations, it's desirable for callers to be
able to watch their status as they progress. For example, an user
interface calling an asynchronous download operation will want to
be able to see the total number of bytes downloaded.
<docsection name="ostree-core">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="95">These functions implement repository-independent algorithms for
+ line="94">These functions implement repository-independent algorithms for
operating on the core OSTree data formats, such as converting
#GFileInfo into a #GVariant.
<docsection name="ostree-gpg-verify-result">
<doc xml:space="preserve"
filename="ostree-gpg-verify-result.c"
- line="30">#OstreeGpgVerifyResult contains verification details for GPG signatures
+ line="28">#OstreeGpgVerifyResult contains verification details for GPG signatures
read from a detached #OstreeRepo metadata object.
Use ostree_gpg_verify_result_count_all() and
<docsection name="ostree-mutable-tree">
<doc xml:space="preserve"
filename="ostree-mutable-tree.c"
- line="31">In order to commit content into an #OstreeRepo, it must first be
+ line="29">In order to commit content into an #OstreeRepo, it must first be
imported into an #OstreeMutableTree. There are several high level
APIs to create an initiable #OstreeMutableTree from a physical
filesystem directory, but they may also be computed
<docsection name="ostree-repo">
<doc xml:space="preserve"
filename="ostree-repo.c"
- line="87">The #OstreeRepo is like git, a content-addressed object store.
+ line="85">The #OstreeRepo is like git, a content-addressed object store.
Unlike git, it records uid, gid, and extended attributes.
There are four possible "modes" for an #OstreeRepo; %OSTREE_REPO_MODE_BARE
<docsection name="ostree-repo-finder-avahi">
<doc xml:space="preserve"
filename="ostree-repo-finder-avahi.c"
- line="62">#OstreeRepoFinderAvahi is an implementation of #OstreeRepoFinder which looks
+ line="60">#OstreeRepoFinderAvahi is an implementation of #OstreeRepoFinder which looks
for refs being hosted by peers on the local network.
Any ref which matches by collection ID and ref name is returned as a result,
<docsection name="ostree-repo-finder-config">
<doc xml:space="preserve"
filename="ostree-repo-finder-config.c"
- line="40">#OstreeRepoFinderConfig is an implementation of #OstreeRepoFinder which looks
+ line="38">#OstreeRepoFinderConfig is an implementation of #OstreeRepoFinder which looks
refs up in locally configured remotes and returns remote URIs.
Duplicate remote URIs are combined into a single #OstreeRepoFinderResult
which lists multiple refs.
<docsection name="ostree-repo-finder-mount">
<doc xml:space="preserve"
filename="ostree-repo-finder-mount.c"
- line="40">#OstreeRepoFinderMount is an implementation of #OstreeRepoFinder which looks
+ line="38">#OstreeRepoFinderMount is an implementation of #OstreeRepoFinder which looks
refs up in well-known locations on any mounted removable volumes.
For each mounted removable volume, the directory `.ostree/repos.d` will be
<docsection name="ostree-repo-finder-override">
<doc xml:space="preserve"
filename="ostree-repo-finder-override.c"
- line="40">#OstreeRepoFinderOverride is an implementation of #OstreeRepoFinder which
+ line="38">#OstreeRepoFinderOverride is an implementation of #OstreeRepoFinder which
looks refs up in a list of remotes given by their URI, and returns the URIs
which contain the refs. Duplicate remote URIs are combined into a single
#OstreeRepoFinderResult which lists multiple refs.
<docsection name="ostree-sepolicy">
<doc xml:space="preserve"
filename="ostree-sepolicy.c"
- line="37">A #OstreeSePolicy object can load the SELinux policy from a given
+ line="35">A #OstreeSePolicy object can load the SELinux policy from a given
root and perform labeling.</doc>
</docsection>
<docsection name="ostree-sign">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="25">An #OstreeSign interface allows to select and use any available engine
+ line="23">An #OstreeSign interface allows to select and use any available engine
for signing or verifying the commit object or summary file.</doc>
</docsection>
<docsection name="ostree-sysroot">
<doc xml:space="preserve"
filename="ostree-sysroot.c"
- line="41">A #OstreeSysroot object represents a physical root filesystem,
+ line="39">A #OstreeSysroot object represents a physical root filesystem,
which in particular should contain a toplevel /ostree directory.
Inside this directory is an #OstreeRepo in /ostree/repo, plus a set
of deployments in /ostree/deploy.
<docsection name="ostree-sysroot-upgrader">
<doc xml:space="preserve"
filename="ostree-sysroot-upgrader.c"
- line="30">The #OstreeSysrootUpgrader class allows performing simple upgrade
+ line="28">The #OstreeSysrootUpgrader class allows performing simple upgrade
operations.</doc>
</docsection>
<docsection name="ostree-version">
<doc xml:space="preserve"
filename="ostree-version.h"
- line="22">ostree provides macros to check the version of the library
+ line="20">ostree provides macros to check the version of the library
at compile-time</doc>
</docsection>
<function name="parse_refspec"
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="155">Split a refspec like `gnome-ostree:gnome-ostree/buildmain` or just
+ line="154">Split a refspec like `gnome-ostree:gnome-ostree/buildmain` or just
`gnome-ostree/buildmain` into two parts. In the first case, @out_remote
will be set to `gnome-ostree`, and @out_ref to `gnome-ostree/buildmain`.
In the second case (a local ref), @out_remote will be %NULL, and @out_ref
will be `gnome-ostree/buildmain`. In both cases, %TRUE will be returned.</doc>
- <source-position filename="ostree-core.h" line="345"/>
+ <source-position filename="ostree-core.h" line="351"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="169">%TRUE on successful parsing, %FALSE otherwise</doc>
+ line="168">%TRUE on successful parsing, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="refspec" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="157">A "refspec" string</doc>
+ line="156">A "refspec" string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
<parameter name="out_remote"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="158">Return location for the remote name,
+ line="157">Return location for the remote name,
or %NULL if the refspec refs to a local ref</doc>
<type name="utf8" c:type="char**"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="160">Return location for the ref name</doc>
+ line="159">Return location for the ref name</doc>
<type name="utf8" c:type="char**"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="460">Convert from a "bare" file representation into an
+ line="459">Convert from a "bare" file representation into an
OSTREE_OBJECT_TYPE_FILE stream suitable for ostree pull.</doc>
- <source-position filename="ostree-core.h" line="412"/>
+ <source-position filename="ostree-core.h" line="418"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="462">File raw content stream</doc>
+ line="461">File raw content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="file_info" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="463">A file info</doc>
+ line="462">A file info</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="464">Optional extended attributes</doc>
+ line="463">Optional extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="465">Serialized object stream</doc>
+ line="464">Serialized object stream</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="466">Cancellable</doc>
+ line="465">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="487">Like ostree_raw_file_to_archive_z2_stream(), but supports an extensible set
+ line="486">Like ostree_raw_file_to_archive_z2_stream(), but supports an extensible set
of flags. The following flags are currently defined:
- `compression-level` (`i`): Level of compression to use, 0–9, with 0 being
the least compression, and <0 giving the default level (currently 6).</doc>
- <source-position filename="ostree-core.h" line="421"/>
+ <source-position filename="ostree-core.h" line="427"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="489">File raw content stream</doc>
+ line="488">File raw content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="file_info" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="490">A file info</doc>
+ line="489">A file info</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="491">Optional extended attributes</doc>
+ line="490">Optional extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="options"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="492">A GVariant `a{sv}` with an extensible set of flags</doc>
+ line="491">A GVariant `a{sv}` with an extensible set of flags</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="493">Serialized object stream</doc>
+ line="492">Serialized object stream</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="494">Cancellable</doc>
+ line="493">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="527">Convert from a "bare" file representation into an
+ line="526">Convert from a "bare" file representation into an
OSTREE_OBJECT_TYPE_FILE stream. This is a fundamental operation
for writing data to an #OstreeRepo.</doc>
- <source-position filename="ostree-core.h" line="430"/>
+ <source-position filename="ostree-core.h" line="436"/>
<return-value transfer-ownership="none">
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameter name="input" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="529">File raw content stream</doc>
+ line="528">File raw content stream</doc>
<type name="Gio.InputStream" c:type="GInputStream*"/>
</parameter>
<parameter name="file_info" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="530">A file info</doc>
+ line="529">A file info</doc>
<type name="Gio.FileInfo" c:type="GFileInfo*"/>
</parameter>
<parameter name="xattrs"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="531">Optional extended attributes</doc>
+ line="530">Optional extended attributes</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
<parameter name="out_input"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="532">Serialized object stream</doc>
+ line="531">Serialized object stream</doc>
<type name="Gio.InputStream" c:type="GInputStream**"/>
</parameter>
<parameter name="out_length"
transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="533">Length of stream</doc>
+ line="532">Length of stream</doc>
<type name="guint64" c:type="guint64*"/>
</parameter>
<parameter name="cancellable"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="534">Cancellable</doc>
+ line="533">Cancellable</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
</parameters>
<docsection name="remote">
<doc xml:space="preserve"
filename="ostree-remote.c"
- line="40">The #OstreeRemote structure represents the configuration for a single remote
+ line="38">The #OstreeRemote structure represents the configuration for a single remote
repository. Currently, all configuration is handled internally, and
#OstreeRemote objects are represented by their textual name handle, or by an
opaque pointer (which can be reference counted if needed).
<function name="repo_commit_traverse_iter_cleanup"
c:identifier="ostree_repo_commit_traverse_iter_cleanup"
moved-to="RepoCommitTraverseIter.cleanup">
- <source-position filename="ostree-repo.h" line="1241"/>
+ <source-position filename="ostree-repo.h" line="1256"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="245">A version of ostree_repo_finder_resolve_async() which queries one or more
+ line="243">A version of ostree_repo_finder_resolve_async() which queries one or more
@finders in parallel and combines the results.</doc>
- <source-position filename="ostree-repo-finder.h" line="82"/>
+ <source-position filename="ostree-repo-finder.h" line="80"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="finders" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="247">non-empty array of #OstreeRepoFinders</doc>
+ line="245">non-empty array of #OstreeRepoFinders</doc>
<array c:type="OstreeRepoFinder* const*">
<type name="RepoFinder" c:type="OstreeRepoFinder*"/>
</array>
<parameter name="refs" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="248">non-empty array of collection–ref pairs to find remotes for</doc>
+ line="246">non-empty array of collection–ref pairs to find remotes for</doc>
<array c:type="const OstreeCollectionRef* const*">
<type name="CollectionRef" c:type="OstreeCollectionRef*"/>
</array>
<parameter name="parent_repo" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="249">the local repository which the refs are being resolved for,
+ line="247">the local repository which the refs are being resolved for,
which provides configuration information and GPG keys</doc>
<type name="Repo" c:type="OstreeRepo*"/>
</parameter>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="251">a #GCancellable, or %NULL</doc>
+ line="249">a #GCancellable, or %NULL</doc>
<type name="Gio.Cancellable" c:type="GCancellable*"/>
</parameter>
<parameter name="callback"
closure="5">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="252">asynchronous completion callback</doc>
+ line="250">asynchronous completion callback</doc>
<type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
</parameter>
<parameter name="user_data"
allow-none="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="253">data to pass to @callback</doc>
+ line="251">data to pass to @callback</doc>
<type name="gpointer" c:type="gpointer"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="406">Get the results from a ostree_repo_finder_resolve_all_async() operation.</doc>
- <source-position filename="ostree-repo-finder.h" line="89"/>
+ line="404">Get the results from a ostree_repo_finder_resolve_all_async() operation.</doc>
+ <source-position filename="ostree-repo-finder.h" line="87"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="413">array of zero
+ line="411">array of zero
or more results</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="RepoFinderResult"/>
<parameter name="result" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="408">#GAsyncResult from the callback</doc>
+ line="406">#GAsyncResult from the callback</doc>
<type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
</parameter>
</parameters>
version="2018.6">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="569">Free the given @results array, freeing each element and the container.</doc>
- <source-position filename="ostree-repo-finder.h" line="186"/>
+ line="567">Free the given @results array, freeing each element and the container.</doc>
+ <source-position filename="ostree-repo-finder.h" line="184"/>
<return-value transfer-ownership="none">
<type name="none" c:type="void"/>
</return-value>
<parameter name="results" transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-repo-finder.c"
- line="571">an #OstreeRepoFinderResult</doc>
+ line="569">an #OstreeRepoFinderResult</doc>
<array c:type="OstreeRepoFinderResult**">
<type name="RepoFinderResult" c:type="OstreeRepoFinderResult*"/>
</array>
version="2020.2">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="520">Return an array with newly allocated instances of all available
+ line="518">Return an array with newly allocated instances of all available
signing engines; they will not be initialized.</doc>
- <source-position filename="ostree-sign.h" line="161"/>
+ <source-position filename="ostree-sign.h" line="159"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="526">an array of signing engines</doc>
+ line="524">an array of signing engines</doc>
<array name="GLib.PtrArray" c:type="GPtrArray*">
<type name="Sign"/>
</array>
throws="1">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="544">Create a new instance of a signing engine.</doc>
- <source-position filename="ostree-sign.h" line="164"/>
+ line="542">Create a new instance of a signing engine.</doc>
+ <source-position filename="ostree-sign.h" line="162"/>
<return-value transfer-ownership="full">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="551">New signing engine, or %NULL if the engine is not known</doc>
+ line="549">New signing engine, or %NULL if the engine is not known</doc>
<type name="Sign" c:type="OstreeSign*"/>
</return-value>
<parameters>
<parameter name="name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-sign.c"
- line="546">the name of desired signature engine</doc>
+ line="544">the name of desired signature engine</doc>
<type name="utf8" c:type="const gchar*"/>
</parameter>
</parameters>
</function>
- <docsection name="soup-form">
- <doc xml:space="preserve"
- filename="ostree-soup-form.c"
- line="19">libsoup contains several help methods for processing HTML forms as
-defined by <ulink
-url="http://www.w3.org/TR/html401/interact/forms.html#h-17.13">the
-HTML 4.01 specification</ulink>.</doc>
- </docsection>
- <docsection name="soup-uri">
- <doc xml:space="preserve"
- filename="ostree-soup-uri.c"
- line="115">A #SoupURI represents a (parsed) URI.
-
-Many applications will not need to use #SoupURI directly at all; on
-the client side, soup_message_new() takes a stringified URI, and on
-the server side, the path and query components are provided for you
-in the server callback.</doc>
- </docsection>
<function name="validate_checksum_string"
c:identifier="ostree_validate_checksum_string"
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="132">Use this function to see if input strings are checksums.</doc>
- <source-position filename="ostree-core.h" line="295"/>
+ line="131">Use this function to see if input strings are checksums.</doc>
+ <source-position filename="ostree-core.h" line="301"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="139">%TRUE if @sha256 is a valid checksum string, %FALSE otherwise</doc>
+ line="138">%TRUE if @sha256 is a valid checksum string, %FALSE otherwise</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="sha256" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="134">SHA256 hex string</doc>
+ line="133">SHA256 hex string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="285">Check whether the given @collection_id is valid. Return an error if it is
+ line="284">Check whether the given @collection_id is valid. Return an error if it is
invalid or %NULL.
Valid collection IDs are reverse DNS names:
* They must not exceed 255 characters in length.
(This makes their format identical to D-Bus interface names, for consistency.)</doc>
- <source-position filename="ostree-core.h" line="339"/>
+ <source-position filename="ostree-core.h" line="345"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="304">%TRUE if @collection_id is a valid collection ID, %FALSE if it is invalid
+ line="303">%TRUE if @collection_id is a valid collection ID, %FALSE if it is invalid
or %NULL</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
allow-none="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="287">A collection ID</doc>
+ line="286">A collection ID</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
c:identifier="ostree_validate_remote_name"
version="2017.8"
throws="1">
- <source-position filename="ostree-core.h" line="342"/>
+ <source-position filename="ostree-core.h" line="348"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="261">%TRUE if @remote_name is a valid remote name</doc>
+ line="260">%TRUE if @remote_name is a valid remote name</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="remote_name" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="258">A remote name</doc>
+ line="257">A remote name</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
<function name="validate_rev"
c:identifier="ostree_validate_rev"
throws="1">
- <source-position filename="ostree-core.h" line="336"/>
+ <source-position filename="ostree-core.h" line="342"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="233">%TRUE if @rev is a valid ref string</doc>
+ line="232">%TRUE if @rev is a valid ref string</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="rev" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="230">A revision string</doc>
+ line="229">A revision string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
<function name="validate_structureof_checksum_string"
c:identifier="ostree_validate_structureof_checksum_string"
throws="1">
- <source-position filename="ostree-core.h" line="519"/>
+ <source-position filename="ostree-core.h" line="525"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2063">%TRUE if @checksum is a valid ASCII SHA256 checksum</doc>
+ line="2070">%TRUE if @checksum is a valid ASCII SHA256 checksum</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2060">an ASCII string</doc>
+ line="2067">an ASCII string</doc>
<type name="utf8" c:type="const char*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2185">Use this to validate the basic structure of @commit, independent of
+ line="2194">Use this to validate the basic structure of @commit, independent of
any other objects it references.</doc>
- <source-position filename="ostree-core.h" line="527"/>
+ <source-position filename="ostree-core.h" line="533"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2193">%TRUE if @commit is structurally valid</doc>
+ line="2202">%TRUE if @commit is structurally valid</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="commit" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2187">A commit object, %OSTREE_OBJECT_TYPE_COMMIT</doc>
+ line="2196">A commit object, %OSTREE_OBJECT_TYPE_COMMIT</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
<function name="validate_structureof_csum_v"
c:identifier="ostree_validate_structureof_csum_v"
throws="1">
- <source-position filename="ostree-core.h" line="515"/>
+ <source-position filename="ostree-core.h" line="521"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2049">%TRUE if @checksum is a valid binary SHA256 checksum</doc>
+ line="2056">%TRUE if @checksum is a valid binary SHA256 checksum</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="checksum" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2046">a #GVariant of type "ay"</doc>
+ line="2053">a #GVariant of type "ay"</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2337">Use this to validate the basic structure of @dirmeta.</doc>
- <source-position filename="ostree-core.h" line="535"/>
+ line="2359">Use this to validate the basic structure of @dirmeta.</doc>
+ <source-position filename="ostree-core.h" line="541"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2344">%TRUE if @dirmeta is structurally valid</doc>
+ line="2366">%TRUE if @dirmeta is structurally valid</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="dirmeta" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2339">A dirmeta object, %OSTREE_OBJECT_TYPE_DIR_META</doc>
+ line="2361">A dirmeta object, %OSTREE_OBJECT_TYPE_DIR_META</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
throws="1">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2225">Use this to validate the basic structure of @dirtree, independent of
+ line="2247">Use this to validate the basic structure of @dirtree, independent of
any other objects it references.</doc>
- <source-position filename="ostree-core.h" line="531"/>
+ <source-position filename="ostree-core.h" line="537"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2233">%TRUE if @dirtree is structurally valid</doc>
+ line="2255">%TRUE if @dirtree is structurally valid</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="dirtree" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2227">A dirtree object, %OSTREE_OBJECT_TYPE_DIR_TREE</doc>
+ line="2249">A dirtree object, %OSTREE_OBJECT_TYPE_DIR_TREE</doc>
<type name="GLib.Variant" c:type="GVariant*"/>
</parameter>
</parameters>
<function name="validate_structureof_file_mode"
c:identifier="ostree_validate_structureof_file_mode"
throws="1">
- <source-position filename="ostree-core.h" line="523"/>
+ <source-position filename="ostree-core.h" line="529"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2322">%TRUE if @mode represents a valid file type and permissions</doc>
+ line="2344">%TRUE if @mode represents a valid file type and permissions</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>
<parameter name="mode" transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2319">A Unix filesystem mode</doc>
+ line="2341">A Unix filesystem mode</doc>
<type name="guint32" c:type="guint32"/>
</parameter>
</parameters>
<function name="validate_structureof_objtype"
c:identifier="ostree_validate_structureof_objtype"
throws="1">
- <source-position filename="ostree-core.h" line="511"/>
+ <source-position filename="ostree-core.h" line="517"/>
<return-value transfer-ownership="none">
<doc xml:space="preserve"
filename="ostree-core.c"
- line="2031">%TRUE if @objtype represents a valid object type</doc>
+ line="2038">%TRUE if @objtype represents a valid object type</doc>
<type name="gboolean" c:type="gboolean"/>
</return-value>
<parameters>